Here, we suggest you some methods in order to quickly and efficiently perform certain actions within the SDK.
The following instruction allows you to stop all the SDK services currently running :
The suspension is persistent. If you stop all the SDK services in session A, the suspension will be kept in session B even if the app is relaunched.
You may need the device ID. You can get it by using the following instruction from anywhere in your code :
To check if the given notification was provided by Accengage servers use
[[Accengage push] isAccengageNotification:notication]
In some case you may need to get programmatically the current Accengage’s SDK version. You can get it by using the following instruction from anywhere in your code:
This feature allows the users to rate and review applications without ever having to leave the app.
The notation popup can be displayed only 3 times per application and per year. Make sure to read carefully the Apple documentation before using the feature.
In order to display the prompt, you'll need to add the parameter "accrating" to your URL Scheme template. Parameters string must begin with a "?" and parameters should be separated by a "&".
Example of valid URL Scheme : yourapp://yourpage?accrating
You can ask the Accengage SDK to display the prompt in the following cases:
- The URL associated with the Push action
- The URLs associated with the interactive Push button actions
- The URLs and redirections loaded in web In-App content
- The URLs associated with In-App actions
- The URLs associated with Inbox message actions
Incoming URLs handled by the
application:openURL:options:method of your AppDelegate.