- Create missing capacitor-cordova-android-plugins directory and build files - Add cordova.variables.gradle with proper variable definitions - Create www directory with functional test web app - Add capacitor.config.ts with plugin configuration - Fix test file package names from com.getcapacitor.myapp to com.timesafari.dailynotification - Move test files to correct package directories - Test app now builds successfully and creates APK - Capacitor sync now works (Android portion) - Build script handles both plugin and test app builds The android/app test app is now fully functional and can be used to test the DailyNotification plugin in a real Android environment.
20 lines
447 B
TypeScript
20 lines
447 B
TypeScript
import { CapacitorConfig } from '@capacitor/cli';
|
|
|
|
const config: CapacitorConfig = {
|
|
appId: 'com.timesafari.dailynotification',
|
|
appName: 'DailyNotification Test App',
|
|
webDir: 'www',
|
|
server: {
|
|
androidScheme: 'https'
|
|
},
|
|
plugins: {
|
|
DailyNotification: {
|
|
fetchUrl: 'https://api.example.com/daily-content',
|
|
scheduleTime: '09:00',
|
|
enableNotifications: true,
|
|
debugMode: true
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config; |