Plugins not working - using latest CLI


#1

I built an app with Ionic 1 and released it. The following plugins worked fine:

  • Sharing
  • Email
  • In app browser - to open a webpage in the phone browser

With the latest version of Ionic installed the release apk and ipa don’t have these working.

Is there some reason?


#2

What is your ionic info output?
What does “don’t have these working” mean. Do you get an error message? What did you change with the update of your app?


#3

This give me an error:

[WARN] Error with ./www/lib/ionic/version.json file: FILE_NOT_FOUND, trying 
       ./bower.json.


and then this:

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:

    cordova (Cordova CLI) : 8.0.0 
    Gulp CLI              : CLI version 3.9.1 Local version 3.9.1

local packages:

    Cordova Platforms : ios 4.5.4
    Ionic Framework   : ionic1 1.3.4

System:

    Node  : v8.9.3
    npm   : 5.5.1 
    OS    : macOS High Sierra
    Xcode : Xcode 9.2 Build version 9C40b 

By ‘not working’ I mean the installed ipa and apk (on an iPhone 6 with the latest iOS and a Pixel XL with the latest OS) the buttons don’t do anything anymore.


#4

Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Safari dev tools: https://ionic.zone/debug/remote-debug-your-app#ios Look at the console tab for errors.


#5

I’ve copied over everything to a new laptop and reinstalled the plugins.

All working now.

Thanks for the help though.