How can i take TransactionId from iOS device using PayPal iOS SDK 1.0.1?!
Thank you
Actually this is a fair question. The new PayPal iOS SDK 1.0.1 doesn't provide TransactionID anymore. What you get from the SDK is something called "Proof of Purchase". You can find the details on this page here : https://developer.paypal.com/webapps/developer/docs/integration/mobile/verify-mobile-payment/
Is there a reason why you need the TrasactionID specifically ?
Related
I use to send build to codenameone for year, but suddenly all the newly android build apps is not working with http protocol, getting "java.io.IOException: Cleartext HTTP traffic to domainname.com not permitted."
I search through google but not finding any solutions about android for codenameone.
I understand apple had force this to https, but not android.
Can somebody help here?
Try to play around the codenameone setting page for this project to add a build hint
android.xapplication=<application android:usesCleartextTraffic="true" />
But not working as well.
We migrated to API level 28 over the weekend as required by Google. This broke compatibility on some fronts as is typical to them... That's one such front.
What you're looking for is android.xapplication_attr but the argument isn't correct either:
android.xapplication_attr=android:usesCleartextTraffic="true"
I wanted to try out google calendar API v3. I have Android Studio 1.0. I created a java endpoint module from Android Studio. I was following the official documentation here
If you follow the link I provided, you will see a line like this
Calendar service = new Calendar.Builder(httpTransport, jsonFactory, credentials)
.setApplicationName("applicationName").build();
Now what will be the httpTransport, jsonfactory and credentials here? Official documentation did not specify anything.
I also followed a sample in java from here.
This was done using Java Servlet and Eclipse. I am not familiar with that. It wont work on Android Studio.
Can anyone provide me a sample? or any direction to work with Calender API and Android Studio? Or what to do in the official sample mentioned above?
You should pass GoogleAccountCredential as the last argument
GoogleAccountCredential googleAccountCredential =
GoogleAccountCredential.usingAudience(context, "server:client_id:" + WEB_CLIENT_ID);
googleAccountCredential.setSelectedAccountName(userEmail);
What is WEB_CLIENT_ID you can find in many tutorials over the internet. It's basically ID which you can generate using Google Developers Console for given project.
Here's how to create Calendar instance with transport and JSON factory.
new Calendar.Builder(AndroidHttp.newCompatibleTransport(),
AndroidJsonFactory.getDefaultInstance(), googleAccountCredential);
I have one iPhone application in which I have integrated the iCloud & reminder. Till iOS 6 its working correctly. After updating iOS to 7 , users of my app complaining about duplicate entries in reminders app of iOS.
Users of my app synched the data to iCloud & after that they got duplicate entries in Reminders app. I checked for API deprecation. But my app is not using any deprecated API from Event Kit Framework.
Does anybody face this issue or have any idea why this is happening in the application ?
I checked the below links where users faced the same issue but on previous version of iOS
http://forums.macrumors.com/showthread.php?t=1252694
http://eliteeternity.com/ios5-update-calendar-events-duplicated-easy-fix/
Thanks in advance.
A few months back I saw that Safari 7 was allowing push notification and it seemed like a very useful tool except every example of it that i've seen is focused on desktop browsing, not mobile.
Do the Safari push notifications work on mobile and if not is there plans to release this to Safari mobile in the near future?
I guess it is just for OS X, at least for now. I received a mail from Apple broadcasting this: https://developer.apple.com/notifications/safari-push-notifications/.
I am also waiting for web-based push notification on iOS. But it seems Apple is pursuing a native-first strategy on iOS platform, giving native apps much more privilege than mobile web.
[Updated] Web Push Notifications depend on "Service Workers" which are "Supported" in WebKit (Mobile Safari), but the state of Push Notifications is unclear. – Kudos to Chris Talman for the update
https://webkit.org/status/#specification-service-workers
https://w3c.github.io/ServiceWorker/
Since this was 2 years ago, I no longer think this is of service, but Apple has no plan to expand to mobile nor has any plan for push notifications on mobile. I have been on the Apple developer site and have found that there is no way for push notifications on IOS. However, Users using Google Chrome can use push notifications on Android using the Push API (https://developers.google.com/web/updates/2015/03/push-notifications-on-the-open-web?hl=en)
Looks like Safari 16 in macOS 13 will support the Notifications API. Details are vague / possibly protected under non-disclosure agreement during the macOS beta.
Source: https://developer.apple.com/documentation/usernotifications/sending_web_push_notifications_in_safari_and_other_browsers
The Safari 16 release notes doesn't make particular mention to iOS/iPadOS 16 & Mobile Safari, however.
Web API
New Features
Added Web Push Notifications support on macOS.
Source: https://developer.apple.com/documentation/safari-release-notes/safari-16-release-notes
Right now there's no way to send push notifications to mobile Safari nor any plan to add it in the future.
However the latest versions of Chrome on Android started to support the push notifications through the Push API, so Apple might want to add push support to iOS to avoid being outdated by Android.
Is it possible to send "PageViews" and record activity using the official Google API for C#? for instance, if i want to track page views for my wpf/winforms desktop app. ?
Where can i find some oficial examples?
I've just downloaded "Garlic" and tried the sample app and it works a treat!
https://github.com/dustyburwell/garlic
Disclaimer: I am the author for Gappalytics
I think one missing here is Gappalytics for code/UI event tracking, it is a very simple library which unlocks you a full potential of Google analytics.
It works better than mentioned before lib's because it can persist uniqueness of a user this way your data will not be skewed.
Google just released the Windows SDK for Google Analytics. It works with UWP, Xamarin, Windows Forms, and WPF.
The official announcement was made at the most recent Windows Developer Day on Feb 8th, 2017.
Here are some options, none perfect though. Google has an iOS and android SDK. Why not a Windows SDK???
Garlic
Ga.net
Server Side Google Analytics