adriano-di-giovanni / cordova-plugin-enable-multidex Goto Github PK
View Code? Open in Web Editor NEWEnable Multidex for Cordova Android apps with over 64K methods
License: MIT License
Enable Multidex for Cordova Android apps with over 64K methods
License: MIT License
Hi,
I got the following message from apple once I uploaded the app to the app store.
Missing Purpose String in Info.plist File - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data will be required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Does your plugin use the device location / uses an API that uses the device location?
I don't get any error once I build and run the app in debug/release mode.
only got the above mail from apple once I uploaded the app to
Was installing latest version and got the following error:
cordova plugin add cordova-plugin-enable-multidex
Installing "cordova-plugin-enable-multidex" for android
Android Studio project detected
Subproject Path: CordovaLib
Subproject Path: app
Failed to install 'cordova-plugin-enable-multidex': Error: Cannot find module 'q'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at module.exports (C:\Users\RPO\dev\myapp.2.85\plugins\cordova-plugin-enable-multidex\scripts\android\editManifest.js:4:13)
at runScriptViaModuleLoader (C:\Users\RPO\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:188:18)
at runScript (C:\Users\RPO\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:164:16)
at C:\Users\RPO\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:132:20
at _fulfilled (C:\Users\RPO\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:787:54)
at self.promiseDispatch.done (C:\Users\RPO\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:816:30)
(node:18308) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot find module 'q'
I rolled back to 0.1.3 and it installed and compiled cleanly
cordova plugin rm cordova-plugin-enable-multidex
currently removes dependencies but do not restore AndroidManifest.xml deleting android:name
attribute from the application
element.
Write an after_plugin_rm
hook to solve the issue.
With Cordova 9 released, this plugin cannot be installed anymore.
Failed to install 'cordova-plugin-enable-multidex': CordovaError: Using "requireCordovaModule" to load non-cordova module "fs" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
Solution is to edit scripts/android/editManifest.js
Use require instead of context.requireCordovaModule for fs, path and q
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.