feat: complete android test app setup

- 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.
This commit is contained in:
Matthew Raymer
2025-10-12 06:24:59 +00:00
parent 0e5994317c
commit e789fa6a60
15 changed files with 304 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
package com.getcapacitor.myapp;
package com.timesafari.dailynotification;
import static org.junit.Assert.*;
@@ -21,6 +21,6 @@ public class ExampleInstrumentedTest {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.getcapacitor.app", appContext.getPackageName());
assertEquals("com.timesafari.dailynotification", appContext.getPackageName());
}
}

View File

@@ -1,4 +1,4 @@
package com.getcapacitor.myapp;
package com.timesafari.dailynotification;
import static org.junit.Assert.*;