On iOS - Camera Plugin Not Installed:( (Android works fine)

Hi there!

I’m facing an issue…

I’m user the camera plugin… which is working fine on real Android device but … raises a “Plugin Not Installed” error on IOS…

Does anyone ever faced this kind of issue?

Here is my current package.json:

{
  "name": "Mobile",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "serve:local-c": "set APP_ENV=local&& ionic serve -c",
    "serve:ion-dev": "set APP_ENV=device&& ionic serve -c",
    "run:device": "set APP_ENV=device&& ionic cordova run android",
    "build:dev": "set APP_ENV=dev&& ionic cordova build android --prod",
    "run:dev": "set APP_ENV=dev&& ionic cordova run android",
    "run:test": "set APP_ENV=test&& ionic cordova run android",
    "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": "5.2.10",
    "@angular/common": "5.2.10",
    "@angular/compiler": "5.2.10",
    "@angular/compiler-cli": "5.2.10",
    "@angular/core": "5.2.10",
    "@angular/forms": "5.2.10",
    "@angular/http": "5.2.10",
    "@angular/platform-browser": "5.2.10",
    "@angular/platform-browser-dynamic": "5.2.10",
    "@angular/tsc-wrapped": "^4.4.6",
    "@ionic-native/camera": "^4.12.2",
    "@ionic-native/core": "^4.12.2",
    "@ionic-native/file": "^4.12.2",
    "@ionic-native/fingerprint-aio": "^4.11.0",
    "@ionic-native/http": "latest",
    "@ionic-native/keyboard": "^4.11.0",
    "@ionic-native/screen-orientation": "^4.12.0",
    "@ionic-native/splash-screen": "4.7.0",
    "@ionic-native/status-bar": "4.7.0",
    "@ionic-native/text-to-speech": "^4.7.0",
    "@ionic-native/transfer": "^3.14.0",
    "@ionic/pro": "1.0.20",
    "@ionic/storage": "^2.1.3",
    "@ngx-translate/core": "^9.1.1",
    "@ngx-translate/http-loader": "2.0.1",
    "angular-highcharts": "^5.2.13",
    "base-64": "^0.1.0",
    "cordova-android": "7.0.0",
    "cordova-check-plugins": "^4.0.3",
    "cordova-ios": "^4.5.5",
    "cordova-plugin-add-swift-support": "^1.7.2",
    "cordova-plugin-advanced-http": "^1.11.1",
    "cordova-plugin-camera": "^4.0.3",
    "cordova-plugin-camera-preview": "^0.10.0",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-file": "^6.0.1",
    "cordova-plugin-fingerprint-aio": "^1.3.8",
    "cordova-plugin-ionic-keyboard": "^2.0.5",
    "cordova-plugin-ionic-webview": "^1.1.19",
    "cordova-plugin-screen-orientation": "^3.0.1",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-tts": "^0.2.3",
    "cordova-plugin-whitelist": "^1.3.3",
    "cordova-sqlite-storage": "^2.3.3",
    "es6-promise-plugin": "^4.2.2",
    "font-awesome": "^4.7.0",
    "hammerjs": "^2.0.8",
    "highcharts": "^6.1.0",
    "ionic-angular": "3.9.2",
    "ionic-plugin-keyboard": "^2.2.1",
    "ionicons": "3.0.0",
    "node-env-run": "^3.0.2",
    "rxjs": "5.5.10",
    "rxjs-compat": "^6.1.0",
    "sw-toolbox": "3.6.0",
    "utf8": "^3.0.0",
    "zone.js": "0.8.26"
  },
  "devDependencies": {
    "@angular/cli": "^6.1.3",
    "@ionic/app-scripts": "3.1.5",
    "@types/highcharts": "^5.0.27",
    "typescript": "2.4",
    "ws": "3.3.2"
  },
  "description": "Mobile application",
  "config": {
    "ionic_copy": "./scripts/copy.config.js",
    "ionic_webpack": "./config/webpack.config.js"
  },
  "cordova": {
    "plugins": {
      "cordova-plugin-tts": {},
      "cordova-plugin-whitelist": {},
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-ionic-keyboard": {},
      "cordova-plugin-camera": {},
      "cordova-plugin-ionic-webview": {},
      "cordova-plugin-advanced-http": {},
      "cordova-plugin-camera-preview": {},
      "cordova-plugin-file": {},
      "cordova-sqlite-storage": {},
      "cordova-plugin-fingerprint-aio": {
        "FACEID_USAGE_DESCRIPTION": " "
      },
      "cordova-plugin-screen-orientation": {}
    },
    "platforms": [
      "android",
      "ios"
    ]
  }
}

Thx!

Salva.

… mmh so no idea… ?

I already tried to remove iOS platform. Then add it again and add again the plugin.

-> it said it was already installed for android then installed it correctly on iOS.

The .ipa build is generated by IONIC Pro -> package build as “Ad Hoc” distribution build.

In addition, I can see that during the build process, plugin is detected and added…