You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/07/12 05:58:44 UTC

[GitHub] [cordova-plugin-camera] KirankumarDafda edited a comment on issue #409: Attempt to invoke virtual method 'boolean java.io.File.mkdirs()' on a null object reference

KirankumarDafda edited a comment on issue #409: Attempt to invoke virtual method 'boolean java.io.File.mkdirs()' on a null object reference
URL: https://github.com/apache/cordova-plugin-camera/issues/409#issuecomment-510757074
 
 
   ![Screenshot_20190712-112054](https://user-images.githubusercontent.com/19833506/61105376-57b4e280-a497-11e9-9124-cc42d81987f1.png)
   
   > This is my package.json file
   
   
    {
       "name": "PROJECT_NAME",
       "version": "1.0.0",
       "author": "Ionic Framework",
       "homepage": "https://ionicframework.com/",
       "scripts": {
         "ng": "ng",
         "start": "ng serve",
         "build": "ng build",
         "test": "ng test",
         "lint": "ng lint",
         "e2e": "ng e2e"
       },
       "private": true,
       "dependencies": {
         "@angular/common": "^7.2.2",
         "@angular/core": "^7.2.2",
         "@angular/forms": "^7.2.2",
         "@angular/http": "^7.2.2",
         "@angular/platform-browser": "^7.2.2",
         "@angular/platform-browser-dynamic": "^7.2.2",
         "@angular/router": "^7.2.2",
         "@ionic-native/action-sheet": "^5.9.0",
         "@ionic-native/barcode-scanner": "^5.9.0",
         "@ionic-native/camera": "^5.9.0",
         "@ionic-native/camera-preview": "^5.9.0",
         "@ionic-native/core": "^5.8.0",
         "@ionic-native/crop": "^5.9.0",
         "@ionic-native/date-picker": "^5.4.0",
         "@ionic-native/file": "^5.9.0",
         "@ionic-native/file-path": "^5.9.0",
         "@ionic-native/http": "^5.5.1",
         "@ionic-native/image-picker": "^5.9.0",
         "@ionic-native/photo-viewer": "^5.4.0",
         "@ionic-native/sms": "^5.5.0",
         "@ionic-native/splash-screen": "^5.0.0",
         "@ionic-native/status-bar": "^5.0.0",
         "@ionic/angular": "^4.1.0",
         "@mobiscroll/angular": "https://npm.mobiscroll.com/@mobiscroll/angular-trial/-/angular-trial-4.6.2.tgz",
         "com-sarriaroman-photoviewer": "^1.2.2",
         "cordova-android": "^8.0.0",
         "cordova-browser": "6.0.0",
         "cordova-ios": "5.0.1",
         "cordova-plugin-actionsheet": "^2.3.3",
         "cordova-plugin-add-swift-support": "^2.0.2",
         "cordova-plugin-advanced-http": "^2.0.9",
         "cordova-plugin-camera": "^4.0.3",
         "cordova-plugin-camera-preview": "^0.11.0",
         "cordova-plugin-crop": "^0.4.0",
         "cordova-plugin-datepicker": "^0.9.3",
         "cordova-plugin-device": "^2.0.2",
         "cordova-plugin-file": "^6.0.1",
         "cordova-plugin-file-transfer": "^1.7.1",
         "cordova-plugin-filepath": "^1.5.5",
         "cordova-plugin-ionic-keyboard": "^2.1.3",
         "cordova-plugin-ionic-webview": "^3.1.2",
         "cordova-plugin-ios-camera-permissions": "^1.2.0",
         "cordova-plugin-splashscreen": "^5.0.2",
         "cordova-plugin-statusbar": "^2.4.2",
         "cordova-plugin-telerik-imagepicker": "^2.3.2",
         "cordova-plugin-whitelist": "^1.3.3",
         "cordova-sms-plugin": "^1.0.0",
         "core-js": "^2.5.4",
         "daterangepicker": "^3.0.3",
         "ion2-calendar": "^3.0.0-rc.0",
         "ionic4-rating": "^1.0.9",
         "moment": "^2.24.0",
         "phonegap-plugin-barcodescanner": "^8.1.0",
         "rxjs": "~6.3.3",
         "rxjs-compat": "^6.4.0",
         "sweetalert2": "^8.8.5",
         "zone.js": "~0.8.29"
       },
       "devDependencies": {
         "@angular-devkit/architect": "~0.12.3",
         "@angular-devkit/build-angular": "~0.13.0",
         "@angular-devkit/core": "~7.2.3",
         "@angular-devkit/schematics": "~7.2.3",
         "@angular/cli": "~7.3.1",
         "@angular/compiler": "~7.2.2",
         "@angular/compiler-cli": "~7.2.2",
         "@angular/language-service": "~7.2.2",
         "@ionic/angular-toolkit": "~1.4.0",
         "@types/node": "~10.14.2",
         "@types/jasmine": "~2.8.8",
         "@types/jasminewd2": "~2.0.3",
         "codelyzer": "~4.5.0",
         "jasmine-core": "~2.99.1",
         "jasmine-spec-reporter": "~4.2.1",
         "karma": "~3.1.4",
         "karma-chrome-launcher": "~2.2.0",
         "karma-coverage-istanbul-reporter": "~2.0.1",
         "karma-jasmine": "~1.1.2",
         "karma-jasmine-html-reporter": "^0.2.2",
         "protractor": "~5.4.0",
         "ts-node": "~8.0.0",
         "tslint": "~5.12.0",
         "typescript": "~3.1.6"
       },
       "description": "An Ionic project",
       "cordova": {
         "plugins": {
           "cordova-plugin-whitelist": {},
           "cordova-plugin-statusbar": {},
           "cordova-plugin-device": {},
           "cordova-plugin-splashscreen": {},
           "cordova-plugin-ionic-webview": {
             "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
           },
           "cordova-plugin-ionic-keyboard": {},
           "cordova-plugin-datepicker": {},
           "com-sarriaroman-photoviewer": {},
           "cordova-sms-plugin": {},
           "cordova-plugin-advanced-http": {},
           "phonegap-plugin-barcodescanner": {
             "ANDROID_SUPPORT_V4_VERSION": "27.+"
           },
           "cordova-plugin-file": {},
           "cordova-plugin-filepath": {},
           "cordova-plugin-actionsheet": {},
           "cordova-plugin-camera-preview": {
             "ANDROID_SUPPORT_LIBRARY_VERSION": "26+"
           },
           "cordova-plugin-ios-camera-permissions": {
             "CAMERA_USAGE_DESCRIPTION": "This app needs camera access",
             "MICROPHONE_USAGE_DESCRIPTION": "This app needs microphone access",
             "PHOTOLIBRARY_ADD_USAGE_DESCRIPTION": "This app needs write-access to photo library",
             "PHOTOLIBRARY_USAGE_DESCRIPTION": "This app needs read/write-access photo library access"
           },
           "cordova-plugin-crop": {},
           "cordova-plugin-file-transfer": {},
           "cordova-plugin-camera": {},
           "cordova-plugin-telerik-imagepicker": {
             "PHOTO_LIBRARY_USAGE_DESCRIPTION": " "
           }
         },
         "platforms": [
           "ios",
           "android"
         ]
       }
     }
   
   
   > Here is config.xml building right now.
   
   
       <?xml version='1.0' encoding='utf-8'?>
       <widget id="PACKAGE_NAME_HERE" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
           <name>PROJECT_NAME</name>
           <description>An awesome Ionic/Cordova app.</description>
           <author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
           <content src="index.html" />
           <access origin="*" />
           <allow-intent href="http://*/*" />
           <allow-intent href="https://*/*" />
           <allow-intent href="tel:*" />
           <allow-intent href="sms:*" />
           <allow-intent href="mailto:*" />
           <allow-intent href="geo:*" />
           <preference name="ScrollEnabled" value="false" />
           <preference name="android-minSdkVersion" value="19" />
           <preference name="BackupWebStorage" value="none" />
           <preference name="SplashMaintainAspectRatio" value="true" />
           <preference name="FadeSplashScreenDuration" value="300" />
           <preference name="SplashShowOnlyFirstTime" value="false" />
           <preference name="SplashScreen" value="screen" />
           <preference name="SplashScreenDelay" value="5000" />
           <preference name="ShowSplashScreenSpinner" value="false" />
           <preference name="orientation" value="portrait" />
           <preference name="AndroidPersistentFileLocation" value="Compatibility" />
           <platform name="android">
               <!-- All icon and splash sources here -->
               <edit-config file="AndroidManifest.xml" mode="merge" target="application">
                   <application android:usesCleartextTraffic="true" />
               </edit-config>
           </platform>
           <platform name="ios">
               <allow-intent href="itms:*" />
               <allow-intent href="itms-apps:*" />
              <!-- All icon and splash sources here -->
           </platform>
           <plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
           <plugin name="cordova-plugin-statusbar" spec="^2.4.2" />
           <plugin name="cordova-plugin-device" spec="^2.0.2" />
           <plugin name="cordova-plugin-splashscreen" spec="^5.0.2" />
           <plugin name="cordova-plugin-ionic-webview" spec="^3.1.2">
               <variable name="ANDROID_SUPPORT_ANNOTATIONS_VERSION" value="27.+" />
           </plugin>
           <plugin name="cordova-plugin-ionic-keyboard" spec="^2.1.3" />
           <plugin name="cordova-plugin-datepicker" spec="^0.9.3" />
           <plugin name="com-sarriaroman-photoviewer" spec="^1.2.2" />
           <plugin name="cordova-sms-plugin" spec="^1.0.0" />
           <plugin name="cordova-plugin-advanced-http" spec="^2.0.9" />
       </widget>

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org