
* Initial Capacitor Config and plugins * Add Android project files and resources * Add local notification scheduling for chores * Add NotificationAccessSnackbar component for handling notification preferences * Add capacitor-preferences to Android project * Update notification Snackbar * Add local notification scheduling for chores * Add ionic.config.json file for custom project configuration * chore: Add environment variables for production deployment * Add Support for IOS, pass notificaiton token(push notifications) * Add Capacitor Device support and refactor notification handling * Refactor GoogleAuth client IDs to use environment variables * Remove google-services.json to enhance security by eliminating sensitive data from the repository * Remove environment files to enhance security by eliminating sensitive data from the repository * Rename project from fe-template to Donetick in ionic.config.json * Remove GoogleService-Info.plist and Info.plist to enhance security by eliminating sensitive data from the repository --------- Co-authored-by: Mo Tarbin <mohamad@Mos-MacBook-Pro.local>
26 lines
668 B
TypeScript
26 lines
668 B
TypeScript
import type { CapacitorConfig } from '@capacitor/cli';
|
|
|
|
const config: CapacitorConfig = {
|
|
appId: 'com.donetick.app',
|
|
appName: 'Donetick',
|
|
webDir: 'dist',
|
|
|
|
plugins: {
|
|
PushNotifications: {
|
|
presentationOptions: ['badge', 'sound', 'alert'],
|
|
},
|
|
LocalNotifications: {
|
|
smallIcon: "ic_stat_icon_config_sample",
|
|
iconColor: "#488AFF",
|
|
sound: "beep.wav",
|
|
},
|
|
GoogleAuth: {
|
|
scopes: ['profile', 'email', 'openid'],
|
|
clientId: process.env.VITE_APP_GOOGLE_CLIENT_ID,
|
|
androidClientId: process.env.VITE_APP_ANDRIOD_CLIENT_ID,
|
|
iosClientId: process.env.VITE_APP_IOS_CLIENT_ID,
|
|
},
|
|
}
|
|
};
|
|
|
|
export default config;
|