Closed nasy closed 6 years ago
Can you try on an actual device to see if that works?
On Tue, Jul 3, 2018, 7:03 AM Ignasi Tuduri notifications@github.com wrote:
I am having some issues with this plugin.
I followed the steps to install the plugin listed in the main page for Ionic 2 https://ionicframework.com/docs/native/wheelselector-plugin/
My config.xml has it installed:
And in my my package.json also: "@ionic-native/wheel-selector": "4.9.0"
If I do: cordova plugin list the plugin is there cordova-wheel-selector-plugin 1.0.0 "Cordova Wheel Selector Plugin"
However when I try to run the wheel on emulator I get:
WARN: Native: tried calling WheelSelector.show, but the WheelSelector plugin is not installed.
So it's is installed but the app doesn't seem to agree, any ideas what can be wrong?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jasonmamy/cordova-wheel-selector-plugin/issues/33, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ9UxnurdF90ZsrZpakKmCYpOblLGJqDks5uC3mTgaJpZM4VBA-C .
Hi @jasonmamy , yes I just tried on an IOS device (Iphone 7) IOS 11.4.
Same thing as in the emulator ¯_(ツ)_/¯
It turns out the problem was caused due to a mismatch with some dependency versions, that for some strange reasons were different in the config.xml and the package.json. After fixing that the plugin started working. Sorry for the confusion, I am closing this one.
Hello @nasy,
I am having the exact same issue as you. I check the config.xml
and package.json
. Sure enough, they were different versions. However, after fixing them, I am still getting the same error.
I was wondering if you could give me some advice! Thanks!
The problem got fixed by making sure the config.xml and package.json had the same versions. Also updating to ios last version, and reinstalling all the plugins. Not sure if this helps much but I think your problem has to be around there. ¯(ツ)/¯
@nasy Awesome! Thanks for the quick reply. I'll give it a shot.
Hello @jasonmamy, I am hoping that you would be able to point me in the correct direction here. I do not want to open a new issue since I am having the same issue that @nasy had.
I have changed the versions of the wheel selector to 1.0.0
in the following files
package.json
package-lock.json
config.xml
node_modules/@ionic-native/wheel-selector/package.json
BEFORE I switched the wheel selector version to 1.0.0
in the files above, the version was 4.9.1
.
I am still getting the error message
[08:09:34] console.warn: Native: tried calling WheelSelector.show, but the WheelSelector plugin is not installed. [08:09:34] console.warn: Install the WheelSelector plugin: 'ionic cordova plugin add cordova-wheel-selector-plugin' [08:09:34] console.log: Error: "plugin_not_installed"
Can you try using the current version 1.1.1:
https://github.com/jasonmamy/cordova-wheel-selector-plugin/blob/master/package.json
On Wed, Jul 11, 2018 at 8:30 AM, Mitch Lembke notifications@github.com wrote:
Hello @jasonmamy https://github.com/jasonmamy, I am hoping that you would be able to point me in the correct direction here. I do not want to open a new issue since I am having the same issue that @nasy https://github.com/nasy had.
I have changed the versions of the wheel selector to 1.0.0 in the following files package.json package-lock.json config.xml node_modules/@ionic-native/wheel-selector/package.json
BEFORE I switched the wheel selector version to 1.0.0 in the files above, the version was 4.9.1. I am still getting the error message
[08:09:34] console.warn: Native: tried calling WheelSelector.show, but the WheelSelector plugin is not installed. [08:09:34] console.warn: Install the WheelSelector plugin: 'ionic cordova plugin add cordova-wheel-selector-plugin' [08:09:34] console.log: Error: "plugin_not_installed"
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jasonmamy/cordova-wheel-selector-plugin/issues/33#issuecomment-404212364, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ9Uxk2pnaQN6dVziuAdaqBIUyw4C-Cuks5uFhoSgaJpZM4VBA-C .
@jasonmamy Bummer. Looks like I cannot get it to work.
No worries. I think I am going to try to use https://github.com/raychenfj/ion-multi-picker
and see if I have any luck with that one. I appreciate your responsiveness!
One thing you could try is with a fresh blank project:
ionic start TestWheelSelector blank cd TestWheelSelector ionic cordova plugin add cordova-wheel-selector-plugin npm install --save @ionic-native/wheel-selector
And add a button to display the wheel selector in the home.ts/home.html files. At that point you can see the version(s) of all the different libraries in the package.json and config.xml and compare.
On Wed, Jul 11, 2018 at 10:17 AM, Mitch Lembke notifications@github.com wrote:
@jasonmamy https://github.com/jasonmamy Bummer. Looks like I cannot get it to work. No worries. I think I am going to try to use https://github.com/raychenfj/ ion-multi-picker and see if I have any luck with that one. I appreciate your responsiveness!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jasonmamy/cordova-wheel-selector-plugin/issues/33#issuecomment-404246173, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ9UxmQxncqWdRO1z01fsuC7NEwKYSrLks5uFjMxgaJpZM4VBA-C .
For me, I just removed and added the platform and it worked again.
ionic cordova platform remove ios
ionic cordova platform add ios
I am having some issues with this plugin.
I followed the steps to install the plugin listed in the main page for Ionic 2
https://ionicframework.com/docs/native/wheelselector-plugin/
My config.xml has it installed:
And in my my package.json also: "@ionic-native/wheel-selector": "4.9.0"
And in app.module: providers: [ ... WheelSelector ],
If I do: cordova plugin list the plugin is there cordova-wheel-selector-plugin 1.0.0 "Cordova Wheel Selector Plugin"
However when I try to run the wheel on emulator (IOS Iphone 8, v 9.0) I get:
WARN: Native: tried calling WheelSelector.show, but the WheelSelector plugin is not installed.
So it's is installed but the app doesn't seem to agree, any ideas what can be wrong?