Welcome to the useful commands section
Here, we suggest you some methods in order to quickly and efficiently perform certain actions within the SDK.
9.1 Activate logging
Configure logging application
In order to benefit from Accengage support, it is crucial and mandatory that you respect the following steps, which enable you and Accengage to have access to certain infos and logs that will provide valuable context if there is an integration issue.
The following configuration is mandatory if Accengage teams need to test the SDK integration. Without it we won't be able to to help you to solve your issues.
Accengage provides an application (called ACC Infos) that will in a first hand help you to identify your own device for testing, and in the second hand will provide a contextual logs to the Accengage technical support team during SDK integration, when there is an unexpected behavior.
In order to be able to use our application, you will need to:
- add the url scheme
bma4sreceiverto the scheme whitelist in your application (as explained in the section "Configure URL Schemes")
localhostexception to the App Transport Security key in your Info.plist.
Enabling console logs
Following this step, you will need to activate the library option which turns on logging.
These logs help you to better understand the integration of the library and verify if it works as intended. These logs are also mandatory for support team who study problems you may have
This is a mandatory step.
9.7 Rating and review prompt
This feature allows the users to rate and review applications without ever having to leave the app.
The feature is available on iOS 10.3 and above.
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 : your_app://your_page?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.