The RevTwo In-App Support Platform uses three different app modes to provide the features you need throughout the development and release processes.
These modes are:
- TestFlight (iOS)
If you have helpdesk people using RevTwo to support apps in production, and also developing new versions of apps, then development mode allows these apps to be kept separate. Another difference is that in development mode, apps are always connected and ready to “call”. In production, apps are only listening for incoming calls when they have an open ticket. This way most production apps are not consuming resources (network, battery, memory) unless they have a reason.
Apps running in Development Mode show up on the development tab in the support portal. Any tickets created in this mode can be viewed by switching to development on the tickets page. These apps use the sandbox apple notification system on iOS for push notifications.
Your app should be in Development mode when you are running it on a device through Xcode or Android Studio. Make sure you change to Production mode before submitting an app to the app store.
To put it in development mode on iOS, use R2MODE_DEVELOPMENT in your R2Initialize call:
R2Initialize(@"ADD YOUR KEY HERE", @"YOUR SECRET KEY HERE", R2MODE_DEVELOPMENT, YES);
or in java on Android:
revTwo = new RevTwo(this); revTwo.r2Intialize("ADD YOUR KEY HERE", "YOUR SECRET KEY HERE", R2ModeEnum.R2MODE_DEVELOPMENT.getValue());
TestFlight Mode – iOS only
On iOS most apps will use the Apple push notifications to make support calls, etc. When an app is distributed through TestFlight, it’s still considered in development, but the Apple push notifications use production, not sandbox. So this mode uses production Apple notifications while classifying the app as development. If you want TestFlight distributed apps to be handled like production, then use the Production mode.
Apps running in TestFlight Mode show up on the development tab in the support portal, and their tickets are accessed by switching to development on the tickets page.
To put it in TestFlight mode, use R2MODE_TESTFLIGHT in your R2Initialize call:
R2Initialize(@"ADD YOUR KEY HERE",@"YOUR SECRET KEY HERE", R2MODE_TESTFLIGHT, YES);
Apps running in Production Mode do NOT show up on the development tab in the support portal, and they can only be called in response to a ticket. Their tickets are accessed by switching to production on the tickets page. They use the production Apple notification system on iOS.
Your app should be in Production mode when you push a build to the app store.
To put it in Production mode, use R2MODE_PRODUCTION in your R2Initialize call:
R2Initialize(@"ADD YOUR KEY HERE",@"YOUR SECRET KEY HERE", R2MODE_PRODUCTION, YES);