OriginalUsage.md 806 B

1. Configure Facebook

  • Open AppSettings > Open Settings from the Unity menu.
  • Enter Facebook AppName, Facebook AppID, Client Token, AppAddress, AppChannel, and PrivacyUrl.
  • Click Save.

2. Usage

At startup, CheckVersion determines whether to open the native game or the web view.

AppRuntimes.Initialization();

if (!await AppRuntimes.CheckVersion()) {
    // Continue the native game flow.
} else {
    // Stop the native game flow and turn off background music.
}

3. Configure a test URL

Set the TestUserID key in the Xcode project's Info.plist to the test URL.

4. Review switch

  • Enable the review switch by including the string Email: [ in the privacy policy at AppRuntimes.PrivacyUrl.
  • After review, update the privacy policy to remove the Email: [ string.