-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin not working with ionic's capacitor #45
Comments
No problem. I actively make sure that everything works. However, I cannot reproduce this. I have now created two empty projects. A pure Capacitor project and a Capacitor+Ionic project. Both are working for me. My steps with Capacitor: # creating new capacitor project
cap init app test.app.id --web-dir www
# with a black package.json
npm init -y
# and a simple index.html
mkdir www
echo '<html><head></head></html>' > www/index.html
# adding apkupdater plugin
npm install cordova-plugin-apkupdater
# adding android platform
npm install @capacitor/android
cap add android
# deploying app
cap run android My steps with Capacitor + Ionic: # creating new capacitor + ionic project
ionic start app blank --type=angular --capacitor --no-interactive
# navigating to app project folder
cd app
# adding apkupdater plugin
npm install cordova-plugin-apkupdater
# adding android platform
ionic capacitor add android
# deploying app
ionic capacitor run android A few questions that come to mind:
|
Hi Kolbasa Same issue in my project, when building apk with gradle
without your plugin, everything buid. When testing on android device, your plugin works great ( build process :
I hope those explanations may help you finding the issue |
btw
this could help |
Thanks for the detailed description. Now I understand what the problem is. |
I pushed an update. Should work now. 👍 |
It's working ! thanks a lot |
It crashes because the strings
android:label="@string/app_name"
can not be resolved from the generatedandroid/app/src/main/res/xml/config.xml
file. It seems like this alias is not supported by capacitor. :/The text was updated successfully, but these errors were encountered: