Closed robations closed 10 years ago
It seems like (on cordova build
) the plugin is set up in .../res/xml/config.xml
like this:
<feature name="AppInfo">
<param name="android-package" value="com.yezhiming.cordova.AppInfo" />
</feature>
whereas value should, I suppose, be com.yezhiming.cordova.appinfo.AppInfo
.
Hm, I'm a bit confused how you got that value. If you use the original plugin, it should be org.scriptotek.appinfo.AppInfo
, like so:
<feature name="AppInfo">
<param name="android-package" value="org.scriptotek.appinfo.AppInfo" />
</feature>
Ha... sorry for the confusion, check this out:
http://plugins.cordova.io/#/package/com.yezhiming.cordova.appinfo
It even references your repo in the readme, but then all the namespaces are changed. I removed the other plugin and installed yours, and (after removing some zombie references) it's all working :)
Np, and thanks for the link. A situation with two different identifiers for the same plugin is not good. I'll try to contact @yezhiming to see if we can clean this up.
Hi, thanks for the plugin - works in iOS as expected.
On Android I get an error returned in
appinfo.js
,Class not found
.Cordova version 3.5.0 Android version 4.4.3
Using
adb logcat
I get this exception trace:I've checked the plugin is installed (re-added using cordova cli, the plugin is listed in
plugins/android.json
, and in.../res/xml/config.xml
).I'm unsure how to get any further. Please let me know if you have any ideas how to debug this.