Skip to content

Commit

Permalink
fix: flexible update on debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Yizack committed Nov 7, 2024
1 parent 84ffb1e commit 3ffc00a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/.idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion app/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ export default {
await CONFIG.load();
await CAPACITOR.setStatusBar(true);
if (CAPACITOR.isAndroid()) {
await CAPACITOR.startFlexibleUpdate();
try {
await CAPACITOR.startFlexibleUpdate();
}
catch (e) {
console.warn(e);
}
}
if (CAPACITOR.isAndroid()) {
Expand Down

0 comments on commit 3ffc00a

Please sign in to comment.