diff --git a/android/app/capacitor.build.gradle b/android/app/capacitor.build.gradle
index 5437a66..fdb4970 100644
--- a/android/app/capacitor.build.gradle
+++ b/android/app/capacitor.build.gradle
@@ -7,8 +7,7 @@ android {
}
}
-// Plugin development project - no Capacitor integration files needed
-// apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
+apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
dependencies {
diff --git a/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java b/android/app/src/androidTest/java/com/timesafari/dailynotification/ExampleInstrumentedTest.java
similarity index 83%
rename from android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java
rename to android/app/src/androidTest/java/com/timesafari/dailynotification/ExampleInstrumentedTest.java
index f2c2217..d9c5e49 100644
--- a/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java
+++ b/android/app/src/androidTest/java/com/timesafari/dailynotification/ExampleInstrumentedTest.java
@@ -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());
}
}
diff --git a/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java b/android/app/src/test/java/com/timesafari/dailynotification/ExampleUnitTest.java
similarity index 89%
rename from android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java
rename to android/app/src/test/java/com/timesafari/dailynotification/ExampleUnitTest.java
index 0297327..9e03db9 100644
--- a/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java
+++ b/android/app/src/test/java/com/timesafari/dailynotification/ExampleUnitTest.java
@@ -1,4 +1,4 @@
-package com.getcapacitor.myapp;
+package com.timesafari.dailynotification;
import static org.junit.Assert.*;
diff --git a/capacitor.config.ts b/capacitor.config.ts
index 7a40700..b283cec 100644
--- a/capacitor.config.ts
+++ b/capacitor.config.ts
@@ -2,11 +2,19 @@ import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'com.timesafari.dailynotification',
- appName: 'DailyNotificationPlugin',
+ 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;
+export default config;
\ No newline at end of file
diff --git a/ios/App/App/capacitor.config.json b/ios/App/App/capacitor.config.json
new file mode 100644
index 0000000..b9ae162
--- /dev/null
+++ b/ios/App/App/capacitor.config.json
@@ -0,0 +1,17 @@
+{
+ "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
+ }
+ },
+ "packageClassList": []
+}
diff --git a/ios/App/App/config.xml b/ios/App/App/config.xml
new file mode 100644
index 0000000..1b1b0e0
--- /dev/null
+++ b/ios/App/App/config.xml
@@ -0,0 +1,6 @@
+
+
Test the DailyNotification plugin functionality
+ + + + + +Test the DailyNotification plugin functionality
+ + + + + +