I have an app which is available now on both iOS and Android.
- The iOS_app_url like https://itunes.apple.com/us/app/.../id...
- The Android_app_url like https://play.google.com/store/apps/details?id=...
Now I would like to add the "invite friends" function by calling the https://www.codenameone.com/javadoc/com/codename1/social/FacebookConnect.html#inviteFriends function to allow the player to invite his friends to install my app. I enter the https://developers.facebook.com/quickstarts/?platform=app-links-host site and select my app there. However I don't know how to fill below things:
"App Link Name" : simply enter the app name?
"URL with custom scheme" (in iOS Data): should enter something like "myapp://" but I don't know to to configure "myapp" in CodenameOne project.
"URL" (in Android Data) : ???
"URL" (in Web data) : ???
Is there any place to put the iOS_app_url or android_app_url mentioned above?
Anyone can help? thanks.
The URL should be in the form of
myappURL://calledFromFBthis will then be launched by Facebook when trying to launch your app.Check out the
ios.urlSchemebuild hint and the section titled "Passing Launch Arguments To The App": https://www.codenameone.com/manual/advanced-topics.htmlThis allows your app to open with information related to the invite.