MobbSign Cordova: Troubleshooting
Cordova
Failed to fetch plugin npm:@mobbeel/mobbsign-cordova-plugin@^1.0.7 via registry.
If you see this lines in terminal, when you execute cordova prepare.
Failed to fetch plugin npm:@mobbeel/mobbsign-cordova-plugin@^1.0.7 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
CordovaError: Error: 404 Not Found - GET https://registry.npmjs.org/@mobbeel%2fmobbsign-cordova-plugin - Not found
To solve this you can execute this line:
cordova plugin add com.mobbeel.mobbsign
Cannot set property 'text' of null
Add this lines to platforms/android/app/src/main/res/values/strings.xml
<string name="app_name">MyAppName</string>
<string name="activity_name">activity_name</string>
<string name="launcher_name">launcher_name</string>
Cannot find module 'unorm'
Just run this lines in console.
npx cordova platform rm ios
npx cordova platform add ios@latest
"com.mobbeel.mobbsign" is already installed
If you receive a message telling that "com.mobbeel.mobbsign" is already installed on the project, please, remove it and reinstall.
xxx
already present" during some Cordova command
"File Remove and add the platform that is causing the problem:
$ npx cordova platform rm <platform> && npx cordova platform <platform>
$ npx ionic cordova platform rm <platform> && npx ionic cordova platform <platform>
MobbSignAPI
is undefined
If the variable MobbSignAPI
is not available in the global context, ensure the following:
- That the
deviceready
event has been triggered. - The previous point is specially important when the plugin is being used in Ionic, where the event could be notified using the
Platform.ready
method. - The plugin will not load if your Ionic project is being run in an internet browser.