darryncampbell / darryncampbell-cordova-plugin-intent

General purpose intent shim layer for cordova appliations on Android. Handles various techniques for sending and receiving intents.
MIT License
86 stars 134 forks source link

Phonegap CLI requirement #63

Closed darryncampbell closed 5 years ago

darryncampbell commented 5 years ago

Raised via email:

Just so you're aware, with Phonegap I found the following preference is needed in the project config.xml, forcing PG to use it's latest cli:

<plugin name="com-darryncampbell-cordova-plugin-intent" spec="1.1.1" />
<preference name="phonegap-version" value="cli-8.1.1" />

Might be worth adding to the readme? Otherwise I get the following:

:processDebugResourcesERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:font
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontStyle
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontWeight

 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
darryncampbell commented 5 years ago

Addressed with https://github.com/darryncampbell/darryncampbell-cordova-plugin-intent/commit/b5312f84b3adb7ddfbc5f2679a692058a22d0a14