paypal / here-sideloader-api-samples

Sideloader API samples that enable to integrate PayPal Here into other apps
Other
24 stars 32 forks source link

iOS9 fix canOpenURL method #37

Closed dikoga closed 8 years ago

dikoga commented 8 years ago

Apple continues to put a high priority on protecting the privacy of a user so it should be no surprise that iOS 9 brings new security and privacy measures. One such measure is to prevent the abuse of canOpenURL to discover the Apps a user has installed.

http://useyourloaf.com/blog/querying-url-schemes-with-canopenurl.html

djMax commented 8 years ago

Yeah, we also have a fix coming for this in PPH itself, because PPH will (at some point) not be able to open your returnUrl.

dikoga commented 8 years ago

ohh, that's true... but I thought since you are calling back, they would allow it... damn it!!!

djMax commented 8 years ago

Our fix is basically to hop through an HTML page, which the next version should do. I don't think it will break the current version of PPH in the app store because that's compiled against the ios8 SDK which doesn't do this. BUT, in case it does break (let me know) - just return to an http page that redirects to your app.

dikoga commented 8 years ago

good to know in advance... is there any way to get a notice when you guys release it? So that I can test and plan a fix if it breaks..

djMax commented 8 years ago

Other than watching the app store I don't know of one. We are not "ramping up for a release" right now so it would be at least January.