swift - after updating to iOS version 9.3.3, redirect url to launch app not working -
in app, have web view load login screen(html page) authenticate (oauth). after authentication succeeds redirect flow native app screen using custom uri scheme receive in response. setup working in iphone device version 9.2.1 until updated ios version 9.3.3. not getting proper redirect url, , instead getting error pop-up message "error: url can;t shown"
i know lot of changes happened in latest update released apple, on webkit. has else faced similar issue? bug in new update ?
would appreciate if me reason why redirect failed after update ?
thanks in advance
welcome security upgrade 9.3.3! deep links!
1st should embrace universal links , forget url schemes...
check transition tutorial: https://blog.branch.io/ios-9.2-deep-linking-guide-transitioning-to-universal-links
in case don't want use universal links...
which delegate method using scheme call? guess using:
-(bool) application:(uiapplication *)application openurl:(nsurl *)url sourceapplication:(nsstring *)sourceapplication annotation:(id)annotation
in specific case... double check don't have &, +, / in url scheme, lot of new encoding going on, if do, convert % encoding, good:
good:
myappschemename://abc?param=appleistough
bad:
myappschemename://abc¶m=appleistough
fix url scheme call , done it!
be happy!
Comments
Post a Comment