Talk about it!
I'm trying to create a plugin and add the same to my Ionic project. To speed up I'm cloning the cordova-plugin-template plugin ( link ) plugin shows a message on the screen, in case the message is " Hello Plugin " as it will appear in step 8 . Initially I did not make any changes to the plugin to see if I can make it work, but the plugin simply does not work when I add it locally. Here are the procedures I'm doing:
1 - In the Command Prompt I define the folder where I want to save my plugin and then make the plugin cordova-plugin-template plugin clone:
3-WiththepluginalreadyclonedinthepromptIdefinethefolderwheretheIonicprojectwillbecreatedandthenputthecommandtocreatetheIonicproject:
5-Inthemessage" Would you like to integrate your new app with Cordova to target native IOS and Android? (y / N) ", I define as yes" y ":
6-AftertheprojectiscreatedIentertheprojectfolderandthenaddtheplugin:
in>"in my editor and I enter the following code:
9-AfterinsertingthecodeintheprojectIsaveandthenreturntothepromptandenterthecommandtogeneratetheapk:
Apparentlytheappiscompiledsuccessfullyandapkisgenerated:
10 - after the procedures I transfer the apk to my cell and execute the same, and the app opens normally but does nothing.
Does anyone know what I'm doing wrong?