Mobile TOTALData Encryption is used to protect data stored within a mobile app. Smart Offline Handling is an extension to Appdome TOTALData Encryption, which allows developers of apps that require authentication to enable non-authenticated access to some of the files that the app generates.
This Knowledge Base article describes Appdome’s Smart Offline Handoff feature and explains how to add it to any mobile app as part of a comprehensive mobile Data Loss Prevention (DLP) solution.
We hope you find this knowledge base useful and enjoy using Appdome!
About Smart offline handoff on Appdome
Appdome is a mobile integration platform as a service (iPaaS) that allows users to add a wide variety of features, SDKs, and APIs to Android and iOS apps. Using a simple ‘click to add’ user interface, Appdome allows anyone to easily implement Smart Offline Handoff in any mobile app – instantly, no code or coding required.
Using Appdome, there are no development or coding prerequisites. For example, there is no Appdome SDK, libraries, or plug-ins to implement. Likewise, there is no requirement to implement encryption libraries or intercept all writing of files to the sandbox for developing Secure TOTALData Encryption Container and Smart Offline Handoff iOS apps. Using Appdome, mobile apps will have Smart Offline data Handoff capabilities as if they were natively coded into the app – all without writing or changing a single line of code.
Some developers want to enable access to the apps data only after authentication with a remote server and limit the offline access to the data to a certain time-frame or additional authentication, in addition to the encryption of the apps data for other processes. When Appdome TOTALDataTM Encryption is enabled encryption is enabled, all stored data generated by the app, including media file, is encrypted at run-time using industry standard AES 256 cryptographic protocols. When Appdome Smart Offline Handoff is enabled, Appdome will decrypt the app’s data only after authentication with a remote server. Additionally, the developer can specify a folder for offline file access, and specify restriction for offline access to that folder like time expiration or require additional authentication like pincode / biometric authentication.
Prerequisites for using Appdome’s Smart Offline Handoff
- Appdome account – IDEAL or higher.
- Appdome-DEV access
- Mobile App (.ipa for iOS, or .apk for Android)
- Signing Credentials (e.g., signing certificates and provisioning profile)
- Adding Appdome Smart Offline Handoff to your app also require some specification in your code, so appdome will know when and how to enable offline access to the app’s files:
NSString* onlineToken = @“myonlinetoken"; NSString* offlineToken = @“myofflinetoken"; NSMutableDictionary *userInfo = [[NSMutableDictionary alloc] init]; [userInfo setObject: onlineToken forKey: @"onlineSecret"]; [userInfo setObject: offlineToken forKey: @"offlineSecret"]; [[NSNotificationCenter defaultCenter] postNotificationName:@"APPDOME_OFFLINE_SET_PROFILE" object:nil userInfo: userInfo];
Intent intent = new Intent("APPDOME_OFFLINE_SET_PROFILE_EVENT"); Bundle bundle = new Bundle(); bundle.putString("onlineSecret", "myonlinetoken"); bundle.putString("offlineSecret", "myofflinetoken"); intent.putExtras(bundle); sendBroadcast(intent);
How to Add Smart Offline Handoff to Any Mobile App on Appdome
Follow these step-by-step instructions to add Smart Offline Handoff to Any Mobile App.
Upload a Mobile App to Your Account
From the “Build” tab, select the Security menu
- Click on TOTALData Encryption to expend the bundle.
- Click on the toggle to enable Data at Rest Encryption
- Click on Encryption Management to expend the sub-bundle.
- Click on the toggle to enable Smart Offline Handoff
- Specify a Designated Folder into which data will be saved for offline access. on android, this folder will be created on both
/data/data/<app-bundle-id>/files and on /sdcard/Android/data/<app-bundle-id>/files.
on ios the folder will be created under
- optional – specify the Session Timeout, an expiration time-frame for offline access (in days – 0 means no expiration time), or toggle the Require Local Authentication switch to require the device Authentication for offline access
- add additional features you want to integrate to your app, when done – click Build my app.
The technology behind Build My App has two major elements – (1) a microservice architecture filled with 1000s of code sets needed for mobile integrations, and (2) an adaptive code generation engine that can recognize the development environment, frameworks and methods in each app and match the app to the relevant code-sets needed to add Smart Offline Handoff feature to the mobile app in seconds.
Congratulations! You now have a mobile app fully integrated with Smart Offline Handoff.
After Adding Smart Offline Handoff to a Mobile App on Appdome
After you have added Smart Offline Handoff to any Mobile App on Appdome, there are a few additional steps needed to complete your mobile integration project.
Read this Knowledge Base article to learn what to do after you successfully Build an app. It explains both optional steps and required steps.
That is it – Enjoy Appdome with Smart Offline Handoff in your app!
How Do I Learn More?
If you have any questions, please send them our way at email@example.com or via the chat window on the Appdome platform.