-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ionic-native ‘plugin not installed’ but ‘ionic plugin add’ says already installed #438
Comments
Chiming in because I have the same problem. Also Ionic 1 (1.3.1) but without TypeScript.
When I insert a breakpoint right before the position where the call fails and make the call in the traditional way everything works. |
I'm having the same issue with nativeaudio. Cordova CLI: 6.3.1 Also see forum post: https://forum.ionicframework.com/t/native-audio-will-not-install/61226/6 |
In what sequence did you list the JavaScript files in your index.html? The correct order is:
On Aug 16, 2016 10:32 AM, "Jan-Philip Loos" notifications@github.com
|
On Ionic 2:
|
@newelement that response was directed to OP Do you only get this issue with the native audio plugin? I suggest you first ensure that you have the latest version by running |
Yes only the nativeaudio plugin. All others are working fine. ionic-native 1.3.16 |
@newelement Just fixed it in 2510c5f |
@newelement done 🎉 |
Awesome! thanks a lot. |
All works well. |
Indeed there was the problem. I imported cordova.js at last. Maybe it's worth to note this in the documentation or warn during runtime? I close this issue and report it back into the forum. Thanks for the help. |
@ihadeed Hello good afternoon , I have the same problem , I installed some plugins like calendar , datepicker , clipboard. |
@paatrick I would need more information to help you out.
|
@ihadeed Good afternoon. Example: import {Calendar} from 'ionic-native'; Calendar.createCalendar('MyCalendar').then( |
@paatrick The Ionic View app doesn't support plugins. |
@ihadeed I visualized here http://docs.ionic.io/docs/view-usage , I tested the camera plugin , and it worked. |
Sorry forgot to specify the versions, platform android: 5.2.2 |
@paatrick Can you try testing with the command |
Hi, I got same issue on another plugins, Device and SplashScreen,
Calling it like:
Instead of Solved issue ! |
Have the same issue here, after installing the Globalisation plugin. Shortly before that I System Info |
@edmundtfy please update to latest version of |
@ihadeed
and then and then
And I found out I need to
And then build successfully with
And Got this error
|
@edmundtfy are you using Crosswalk? if so, you need to apply some timeout after |
@ihadeed Is there a way to work around that slow loading time (for now it loads maybe 20 seconds before dismissing the splash screen |
Same problem here:
sometimes, not always causes all network traffic to be suppressed on browser with the same warning message. After browser refresh the warning does not dissapear but requests are successful again. |
@VSMax running |
Hmm anyway, it should either work or not. Now it's very random. Using
it sometimes works and sometimes it just throws warnings onto the console. There is another problem: this thing is throwing warnings while invoking Auth.signup method from Ionic Cloud package. Therefore, if this is expected behaviour, Ionic Cloud has serious problem because any application that uses it cannot make use of ionic serve in order to develop the application. |
The same problem for Gyroscope plugin. |
For others, I was running into this when using a plugin prior to platform ready. You may need to put plugin use inside a platform ready check. |
I have the same issue with Native Flurry: https://ionicframework.com/docs/native/flurry-analytics/ All Flurry calls fail with message similar to this, on device (ionic run android): All calls are wrapped with Platform.ready(). Here is my environment: And the plug-in is installed. Please help! |
Same thing happening to me but with Native Stripe pluging All calls are wrapped with Platform.ready()
and still getting "plugin_not_installed" error. Please help us with this! |
Same happens with cordova-plugin-sim. It works when i build without prod, but when i run with |
I have same problem with cordova-plugin-camera |
It works on emulator but does not on ionic view |
I have the same problem in the plugin "Device Accounts"
|
@tony8382 this issue is almost a year old... please open a new issue with more details about your problem. |
Hi @tony8382, |
@ihadeed |
I have the same problem in the plugin "Local Notifications" |
In my case even the this.platform.ready().then had not worked. I followed this tutorial https://learnionic2.com/2017/04/03/setting-notification-badges-within-ionic-2/ where he has used keywords like async which helped me in solving the issue. |
it's work, thanks a lot@ihadeed |
@ihadeed I have the same problem with the camera plugin, my cell phone does not work, plugin is not installed, did you solve the problem? |
Same problem out here! Camera module! |
I had the same issues with building "--prod". I fixed after I put my codes inside platform.ready().then(). Hopes this can helps. |
Thanks for all of your reply |
Commenting here to help other people that find this thread in the future: Calling the plugin before |
Thank you dhasilva |
Hi,
I have an issue with ionic-native an ionic 1, already reported here:
https://forum.ionicframework.com/t/ionic-native-plugin-not-installed-but-ionic-plugin-add-says-already-installed/60328?u=briends
For completness:
Hi,
I recently switched from ngCordova to ionic-native. Mainly for camera, statusbar and network. When using the network plugin it says:
[Warning] Native: tried calling e.connection, but the e plugin is not installed. (ionic.native.min.js, line 4) [Warning] Install the e plugin: 'ionic plugin add cordova-plugin-network-information' (ionic.native.min.js, line 4)
or statusbar, it says:
[Warning] Native: tried calling e.isVisible, but the e plugin is not installed. (ionic.native.min.js, line 4) [Warning] Install the e plugin: 'ionic plugin add cordova-plugin-statusbar' (ionic.native.min.js, line 4)
The camera plugin works without a warning.
Running
ionic plugin add cordova-plugin-statusbar
orionic plugin add cordova-plugin-network-information
this is the output:$ ionic plugin add cordova-plugin-network-information Updated the hooks directory to have execute permissions Plugin "cordova-plugin-network-information" already installed on android. Plugin "cordova-plugin-network-information" already installed on ios. Saving plugin to package.json file
It's worth to be noted, that I installed
ionic-native
viabower install ionic-native --save
and notnpm install ionic-native
because thenode_modules
seems not to be deployed to the app and I could not link toionic.native.min.js
. And I'm still using ionic 1 but with typescript.What could be the problem here?
An example project: https://github.com/Briends/ionic-with-ionic-native/tree/master
The text was updated successfully, but these errors were encountered: