Embed in Mobile App
Embed Connect in your mobile app using web views. Connect will broadcast an event with the message connect_exit
when you should dismiss the webview. See below for specific implementation details.
iOS
Using your app’s Custom URL Scheme, generate a callback URL that your app will use to dismiss the Connect SFSafariViewController
.
Android
Connect will post an event using the connectMessageHandler
object you created, with a message of connect_exit
. When your application receives that message, you should dismiss the Connect webview.
Connect will post an event using the connectMessageHandler
object you created, with a message of connect_exit
. When your application receives that message, you should dismiss the Connect webview.
React Native
Connect will post an event using the onMessage
handler you created, with a message of connect_exit
. When your application receives that message, you should dismiss the Connect webview.
Connect will post an event using the onMessage
handler you created, with a message of connect_exit
. When your application receives that message, you should dismiss the Connect webview.
Need Addional Support?
If your application needs a different callback scheme, just let us know.