Hi,
I just tried volt builder to create my Andorid APK, that I’ve create in past with PGB.
Build process was without error, but when I run the app I encounter an error.
Here the excerpt from config.xml (confidential data removed)::
<platform name="android"> <plugin name="cordova-custom-config" source="npm"/> <plugin name="cordova-plugin-intent" source="npm"/> <config-file target="AndroidManifest.xml" parent="./application/activity"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.SENDTO" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="" /> <data android:mimeType="*/*" /> <data android:pathPattern=".*\\.*" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.SEND_MULTIPLE" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="" /> <data android:mimeType="*/*" /> <data android:pathPattern=".*\\.*" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="" /> <data android:mimeType="*/*" /> <data android:pathPattern=".*\\.*" /> </intent-filter> </config-file> <plugin name="cc.fovea.cordova.openwith" source="npm"> <variable name="IOS_URL_SCHEME" value="cordovaopenwith2" /> <variable name="IOS_UNIFORM_TYPE_IDENTIFIER" value="public.data" /> <variable name="DISPLAY_NAME" value="removed" /> <variable name="SHAREEXT_DEVELOPMENT_TEAM" value="removed" /> <variable name="SHAREEXT_PROVISIONING_PROFILE" value="removed" /> <variable name="IOS_GROUP_IDENTIFIER" value="removed" /> <variable name="ANDROID_MIME_TYPE" value="*/*" /> <variable name="ANDROID_EXTRA_ACTIONS" value="<action android:name="android.intent.action.SEND_MULTIPLE"/>"/> </plugin> </platform>
The app stops with error “Cannot read property ‘setVerbosity’ of undefined” on following code:
cordova.openwith.setVerbosity(cordova.openwith.DEBUG);
This probably means, that the openwith plugin is not properly included in compilation, for when compiling with Phonegap Build everything works.
TX
Oliver