...
2. Create AppoxeeConfig.plist file in your project.
Mandatory
- Enter your SDK Key (SDK Key that was created when your App was configured in the system)
...
- Set the is_eu flag to
...
- YES or NO ( please contact your PS validate which DC you are hosted on)
- NO - Data Center is located in US
- YES - Data Center is located in EU
Please note that if the above flag does not match your DC environment you will see the following error in your Xcode console
Code Block [Appoxee Debug] Application Activated [Appoxee Error] Network protocol error with HTTP code: 403 [Appoxee Error] Network protocol error with HTTP code: 403
Optional
- If you want landing page to open as an overlayinside the app, set open_landing_page_inside_app to true
AppoxeeConfig.plist
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>sdk</key> <dict> <key>sdk_key</key> <string></string> <key>is_eu</key> <!-- Optional, indicate if accountData center is located in EU / US --> <false/> <key>open_landing_page_inside_app</key> <!-- Optional, indicate if landing page should open inside the app or via Safari --> <false/> </dict> </dict> </plist> |
Info | ||
---|---|---|
| ||
Please note that the "Request Push notification permission" dialog will be called on first app lunch. In order to show the dialog based on your own logic refer to : Request Notification at Best Time |