Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70440

Native media not working on android

$
0
0

@alibahjat wrote:

hello
i installed ionic native media on ionic 3 but its not working on android
i got error in console log
’1’

my package.json is

{
  "name": "commerce",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
  "dependencies": {
    "@angular/animations": "4.1.3",
    "@angular/common": "^4.4.3",
    "@angular/compiler": "^4.4.3",
    "@angular/compiler-cli": "^4.4.3",
    "@angular/core": "^4.4.3",
    "@angular/forms": "^4.4.3",
    "@angular/http": "^4.4.3",
    "@angular/platform-browser": "^4.4.3",
    "@angular/platform-browser-dynamic": "^4.4.3",
    "@ionic-native/core": "3.7.0",
    "@ionic-native/in-app-browser": "^4.4.2",
    "@ionic-native/media": "^4.5.3",
    "@ionic-native/network": "^4.5.2",
    "@ionic-native/onesignal": "^3.10.3",
    "@ionic-native/splash-screen": "3.7.0",
    "@ionic-native/status-bar": "3.7.0",
    "@ionic-native/streaming-media": "^4.5.0",
    "@ionic/storage": "2.0.1",
    "@types/google-maps": "^3.2.0",
    "angularfire2": "^4.0.0-rc.1",
    "call-number": "^1.0.1",
    "cordova-android": "6.2.3",
    "cordova-ios": "4.4.0",
    "cordova-plugin-compat": "^1.1.0",
    "cordova-plugin-console": "^1.0.5",
    "cordova-plugin-crosswalk-webview": "2.4.0",
    "cordova-plugin-device": "^1.1.4",
    "cordova-plugin-file": "^4.3.3",
    "cordova-plugin-inappbrowser": "^1.7.2",
    "cordova-plugin-media": "^3.0.1",
    "cordova-plugin-media-capture": "^1.4.3",
    "cordova-plugin-network-information": "^2.0.1",
    "cordova-plugin-splashscreen": "^4.0.3",
    "cordova-plugin-statusbar": "^2.2.2",
    "cordova-plugin-streaming-media": "^1.0.2",
    "cordova-plugin-whitelist": "^1.3.1",
    "firebase": "^4.1.3",
    "ionic-angular": "^3.7.0",
    "ionic-audio": "^3.2.0",
    "ionic-plugin-keyboard": "^2.2.1",
    "ionicons": "3.0.0",
    "localforage": "^1.5.5",
    "localforage-cordovasqlitedriver": "^1.6.0",
    "onesignal-cordova-plugin": "^2.2.1",
    "phonegap-plugin-barcodescanner": "^6.0.7",
    "promise-polyfill": "6.0.2",
    "reflect-metadata": "^0.1.3",
    "rxjs": "^5.4.3",
    "sw-toolbox": "3.6.0",
    "zone.js": "^0.8.17"
  },
  "devDependencies": {
    "@angular/tsc-wrapped": "^4.4.6",
    "@ionic/app-scripts": "^3.0.0",
    "@ionic/cli-plugin-cordova": "1.2.1",
    "@ionic/cli-plugin-ionic-angular": "1.2.0",
    "ionic": "3.9.2",
    "typescript": "2.3.3"
  },
  "description": "An Ionic project",
  "cordova": {
    "plugins": {
      "cordova-plugin-console": {},
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-statusbar": {},
      "cordova-plugin-whitelist": {},
      "ionic-plugin-keyboard": {},
      "cordova-plugin-media-capture": {
        "CAMERA_USAGE_DESCRIPTION": "App would like to access the camera.",
        "MICROPHONE_USAGE_DESCRIPTION": "App would like to access the microphone.",
        "PHOTOLIBRARY_USAGE_DESCRIPTION": "App would like to access the library.",
        "ITSAppUsesNonExemptEncryption": "NO"
      },
      "onesignal-cordova-plugin": {},
      "cordova-plugin-inappbrowser": {},
      "cordova-plugin-crosswalk-webview": {
        "XWALK_VERSION": "23+",
        "XWALK_LITEVERSION": "xwalk_core_library_canary:17+",
        "XWALK_COMMANDLINE": "--disable-pull-to-refresh-effect",
        "XWALK_MODE": "embedded",
        "XWALK_MULTIPLEAPK": "true"
      },
      "cordova-plugin-network-information": {},
      "cordova-plugin-media": {
        "MICROPHONE_USAGE_DESCRIPTION": " "
      }
    },
    "platforms": [
      "ios",
      "android"
    ]
  }
}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles