Code Monkey home page Code Monkey logo

cordova-plugin-enable-multidex's People

Contributors

adriano-di-giovanni avatar davidschreiber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cordova-plugin-enable-multidex's Issues

iOS location issue on uploading the apptore - ask for NSLocationAlwaysUsageDescription

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?

Reproduction

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

Additional Information

  • cordova-plugin-enable-multidex version: 0.1.3
  • List of installed plugins:
    code-push 2.0.6 "CodePushAcquisition"
    com.elasticode.cordova 2.1.7 "Elasticode Cordova Plugin"
    com.etoro.chinaupdateplugin 13.0.0 "ChinaUpdatePlugin"
    cordova-android-support-gradle-release 2.0.1 "cordova-android-support-gradle-release"
    cordova-custom-config 5.0.2 "cordova-custom-config"
    cordova-plugin-app-version 0.1.9 "AppVersion"
    cordova-plugin-appsflyer-sdk 4.4.15 "AppsFlyer"
    cordova-plugin-code-push 1.11.13 "CodePush"
    cordova-plugin-customurlscheme 4.3.0 "Custom URL scheme"
    cordova-plugin-device 2.0.2 "Device"
    cordova-plugin-dialogs 2.0.1 "Notification"
    cordova-plugin-enable-multidex 0.1.3 "Enable Multidex"
    cordova-plugin-facebook4 4.2.1 "Facebook Connect"
    cordova-plugin-file 6.0.1 "File"
    cordova-plugin-file-transfer 1.7.1 "File Transfer"
    cordova-plugin-googleplus 5.3.2 "Google SignIn"
    cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
    cordova-plugin-intercom 6.2.0 "Intercom"
    cordova-plugin-network-information 2.0.2-dev "Network Information"
    cordova-plugin-splashscreen 5.0.2 "Splashscreen"
    cordova-plugin-statusbar 2.4.2 "StatusBar"
    cordova-plugin-wechat 2.6.0 "Wechat"
    cordova-plugin-whitelist 1.3.3 "Whitelist"
    cordova-plugin-zip 3.1.0 "cordova-plugin-zip"
    cordova-universal-links-plugin 1.2.1 "Universal Links Plugin"
    ionic-plugin-keyboard 2.2.1 "Keyboard"
    org.apache.cordova.inappbrowser 0.2.2 "InAppBrowser"
    phonegap-plugin-mobile-accessibility 1.0.4 "Mobile Accessibility"
    urbanairship-cordova 7.3.0 "Urban Airship
  • Cordova version: 7.0.0
  • iOS/Android/Windows version: 12
  • Does this reproduce on a debug build or release build? NO
  • Does this reproduce on a simulator, or only on a physical device? NO

Install error could not find module 'q'

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

Support for Cordova 9

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.