Updating Old Apps to Work with iOS 12 Security Enhancements
If your apps are developed with a version prior to Kony Visualizer 7.2, your apps will run into security issues on iOS 12. To resolve the security issues, you must update your old Quantum Visualizer Apps and use Native Function APIs.
If your apps were developed with Kony Visualizer 7.2 and above, go to the iOS Quick Start Guide section.
You must declare the native bindings that you wish to use in an Information Property List (Info.plist) file attached to your app.
For example, for HealthKit the following keys would need to be added:
- NSHealthShareUsageDescription
- NSHealthUpdateUsageDescription
The complete list of keys can be found in Apple documentation here:
Procedure
- Navigate to the root of your project.
- Navigate to the
Content\Resources\subdirectory
. - In the directory create a text file called: “
infoplist_configuration.json.
” - Open the text file in a text editor and add the appropriate keys for the Native APIs used by your app. For example, the keys mentioned above would look like this:
- On building the application, the
.json file
will be packaged in the generated.KAR file
. - On extraction of the .
KAR
file, the keys are added to theInfo.plist file.
{
"NSHealthShareUsageDescription": "",
"NSHealthUpdateUsageDescription": "",
}