breautek commented on issue #1424:
URL: https://github.com/apache/cordova-ios/issues/1424#issuecomment-2069306785

   > Ionic framework
   use cordova-ios- 6.2.0
   
   Presumably by noting the use of the framework, the Ionic webview is being 
used. The ionic webview does use APIs that now requires a "required use reason" 
to be declared. I'm not sure if it uses all of the mentioned, but I know it 
uses NSUserDefaults. If Ionic hasn't already updated their webview and plugin 
to include a manifest, then an issue should be raised with ionic.
   
   Additionally, as dpogue pointed out, a privacy manifest for the cordova 
framework itself was introduced in 7.1.0.
   
   > how to I find the plugin which have using that API's and How to declare in 
code ?
   
   Apple has a 
[list](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api?language=objc)
 of APIs for each category in which they look for and expected a required use 
reason to be declared. Because Cordova Apps don't work directly in native code, 
this is almost exclusively caused by plugins in which uses an API that's in 
that list.
   
   Ideally the plugin authors will produce a resource bundle so that they they 
declare the reasons themselves (Plugin authors can use 
https://github.com/apache/cordova-plugin-file/pull/621 as an example on how to 
do this). But if you're using a plugin that's unmaintained, then you'll need to 
scan / reverse engineer the plugin for any uses of the APIs listed in the Apple 
docs and determine why the plugin is using that API, and declare it 
appropriately based on a reason code also supplied by Apple. App developers has 
a `config.xml` directives introduced in cordova-ios 7.1.0 to supply an app 
manifest. This isn't documented yet, but details and examples can be found at 
https://github.com/apache/cordova-ios/pull/1406
   
   Closing because this isn't a bug with cordova-ios. If there is further 
questions, [Apache Discussions](https://github.com/apache/cordova/discussions) 
can be used to discuss topics.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to