Skip to content

Commit

Permalink
fix: prevent usage of default appId
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Feb 19, 2024
1 parent 38501e4 commit 8fa2002
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export const checkAppExistsAndHasPermissionErr = async (supabase: SupabaseClient
}
if (res && !perm) {
p.log.error(`App ${appid} exist and you don't have permission to access it`);
if (appid === 'io.ionic.starter') {
p.log.info('Modify your appid in your capacitor.config.json file to something unique, this is a default appid for ionic starter app');
}
program.error('');
}
}
Expand Down

0 comments on commit 8fa2002

Please sign in to comment.