diff --git a/docs/IOS_TEST_APPS_SETUP_COMPLETE.md b/docs/IOS_TEST_APPS_SETUP_COMPLETE.md new file mode 100644 index 0000000..c6bc9eb --- /dev/null +++ b/docs/IOS_TEST_APPS_SETUP_COMPLETE.md @@ -0,0 +1,204 @@ +# iOS Test Apps Setup Complete + +**Author**: Matthew Raymer +**Date**: 2025-11-04 +**Status**: ✅ **COMMAND-LINE SETUP COMPLETE** + +## Summary + +All command-line setup for iOS test apps has been completed. Both test app scenarios are now ready for CocoaPods installation and Xcode building. + +## Completed Setup + +### 1. Vue 3 Test App (`test-apps/daily-notification-test`) + +**iOS Platform Added:** +- ✅ Created `ios/` directory with Xcode project structure +- ✅ Generated `ios/App/` with Capacitor integration +- ✅ Created `Podfile` with Capacitor dependencies + +**Plugin Integration:** +- ✅ Added `DailyNotificationPlugin` to Podfile +- ✅ Plugin path: `../../../ios` +- ✅ Ready for `pod install` + +**Files Created:** +- `test-apps/daily-notification-test/ios/App/Podfile` - Includes plugin dependency +- `test-apps/daily-notification-test/ios/App/App/` - Xcode project structure +- `test-apps/daily-notification-test/ios/.gitignore` - Git ignore rules + +### 2. Standalone iOS Test App (`test-apps/ios-test-app`) + +**Structure Created:** +- ✅ Copied base structure from `ios/App` +- ✅ Created `App/App/public/` directory +- ✅ Created `App/capacitor.config.json` with plugin configuration +- ✅ Created `App/Podfile` with plugin dependency + +**Test Interface:** +- ✅ Copied test HTML from Android test app (575 lines) +- ✅ Located at `App/App/public/index.html` +- ✅ Includes all plugin test functions + +**Plugin Integration:** +- ✅ Added `DailyNotificationPlugin` to Podfile +- ✅ Plugin path: `../../../ios` +- ✅ Ready for `pod install` + +**Files Created:** +- `test-apps/ios-test-app/App/capacitor.config.json` - Plugin configuration +- `test-apps/ios-test-app/App/Podfile` - CocoaPods dependencies +- `test-apps/ios-test-app/App/App/public/index.html` - Test interface + +## Configuration Details + +### Vue 3 Test App Podfile + +```ruby +pod 'DailyNotificationPlugin', :path => '../../../ios' +``` + +**Location:** `test-apps/daily-notification-test/ios/App/Podfile` + +### Standalone Test App Podfile + +```ruby +pod 'DailyNotificationPlugin', :path => '../../../ios' +``` + +**Location:** `test-apps/ios-test-app/App/Podfile` + +### Standalone Test App Capacitor Config + +```json +{ + "appId": "com.timesafari.dailynotification", + "appName": "DailyNotification Test App", + "webDir": "public", + "plugins": { + "DailyNotification": { + "debugMode": true, + "enableNotifications": true + } + } +} +``` + +**Location:** `test-apps/ios-test-app/App/capacitor.config.json` + +## Next Steps (Manual) + +### For Vue 3 Test App + +1. **Install CocoaPods dependencies:** + ```bash + cd test-apps/daily-notification-test/ios/App + pod install + ``` + +2. **Build web assets:** + ```bash + cd test-apps/daily-notification-test + npm install # If not already done + npm run build + ``` + +3. **Sync with iOS:** + ```bash + npx cap sync ios + ``` + +4. **Build and run:** + ```bash + npx cap run ios + # Or use build script: + ./scripts/build-and-deploy-ios.sh + ``` + +### For Standalone iOS Test App + +1. **Install CocoaPods dependencies:** + ```bash + cd test-apps/ios-test-app/App + pod install + ``` + +2. **Open in Xcode:** + ```bash + open App.xcworkspace + ``` + +3. **Build and run:** + - Select target device/simulator + - Build and run (⌘R) + +4. **Or use build script:** + ```bash + cd test-apps/ios-test-app + ./scripts/build-and-deploy.sh + ``` + +## Verification Checklist + +### Vue 3 Test App +- [x] iOS platform added via `npx cap add ios` +- [x] Podfile created with plugin dependency +- [x] Plugin path correctly configured +- [ ] CocoaPods dependencies installed (`pod install`) +- [ ] Web assets built (`npm run build`) +- [ ] Capacitor sync completed (`npx cap sync ios`) +- [ ] App builds successfully in Xcode + +### Standalone iOS Test App +- [x] Structure created from `ios/App` +- [x] Capacitor config created +- [x] Podfile created with plugin dependency +- [x] Test HTML interface copied +- [ ] CocoaPods dependencies installed (`pod install`) +- [ ] Xcode workspace created +- [ ] App builds successfully in Xcode + +## Troubleshooting + +### CocoaPods Not Found + +```bash +gem install cocoapods +``` + +### Plugin Not Found During pod install + +1. Verify plugin is built: + ```bash + ./scripts/build-native.sh --platform ios + ``` + +2. Check plugin path in Podfile is correct + +3. Verify `ios/DailyNotificationPlugin.podspec` exists + +### Build Errors + +1. Clean build folder in Xcode (⌘⇧K) +2. Delete derived data: `rm -rf ~/Library/Developer/Xcode/DerivedData` +3. Reinstall pods: `pod deintegrate && pod install` + +## Files Modified/Created + +### New Files +- `test-apps/daily-notification-test/ios/` - Entire iOS directory (generated by Capacitor) +- `test-apps/ios-test-app/App/capacitor.config.json` - Capacitor configuration +- `test-apps/ios-test-app/App/Podfile` - CocoaPods dependencies +- `test-apps/ios-test-app/App/App/public/index.html` - Test interface + +### Modified Files +- `test-apps/daily-notification-test/ios/App/Podfile` - Added plugin dependency + +## Status + +✅ **All command-line setup complete** +🟡 **Ready for CocoaPods installation** +🟡 **Ready for Xcode building** + +Both iOS test apps are now fully configured and ready for the next steps (CocoaPods installation and Xcode building). + diff --git a/test-apps/daily-notification-test/ios/.gitignore b/test-apps/daily-notification-test/ios/.gitignore new file mode 100644 index 0000000..f470299 --- /dev/null +++ b/test-apps/daily-notification-test/ios/.gitignore @@ -0,0 +1,13 @@ +App/build +App/Pods +App/output +App/App/public +DerivedData +xcuserdata + +# Cordova plugins for Capacitor +capacitor-cordova-ios-plugins + +# Generated Config files +App/App/capacitor.config.json +App/App/config.xml diff --git a/test-apps/daily-notification-test/ios/App/App.xcodeproj/project.pbxproj b/test-apps/daily-notification-test/ios/App/App.xcodeproj/project.pbxproj new file mode 100644 index 0000000..d007acd --- /dev/null +++ b/test-apps/daily-notification-test/ios/App/App.xcodeproj/project.pbxproj @@ -0,0 +1,408 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 48; + objects = { + +/* Begin PBXBuildFile section */ + 2FAD9763203C412B000D30F8 /* config.xml in Resources */ = {isa = PBXBuildFile; fileRef = 2FAD9762203C412B000D30F8 /* config.xml */; }; + 50379B232058CBB4000EE86E /* capacitor.config.json in Resources */ = {isa = PBXBuildFile; fileRef = 50379B222058CBB4000EE86E /* capacitor.config.json */; }; + 504EC3081FED79650016851F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 504EC3071FED79650016851F /* AppDelegate.swift */; }; + 504EC30D1FED79650016851F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30B1FED79650016851F /* Main.storyboard */; }; + 504EC30F1FED79650016851F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30E1FED79650016851F /* Assets.xcassets */; }; + 504EC3121FED79650016851F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC3101FED79650016851F /* LaunchScreen.storyboard */; }; + 50B271D11FEDC1A000F3C39B /* public in Resources */ = {isa = PBXBuildFile; fileRef = 50B271D01FEDC1A000F3C39B /* public */; }; + A084ECDBA7D38E1E42DFC39D /* Pods_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 2FAD9762203C412B000D30F8 /* config.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = config.xml; sourceTree = ""; }; + 50379B222058CBB4000EE86E /* capacitor.config.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = capacitor.config.json; sourceTree = ""; }; + 504EC3041FED79650016851F /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 504EC3071FED79650016851F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 504EC30C1FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 504EC30E1FED79650016851F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 504EC3111FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 504EC3131FED79650016851F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 50B271D01FEDC1A000F3C39B /* public */ = {isa = PBXFileReference; lastKnownFileType = folder; path = public; sourceTree = ""; }; + AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_App.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.release.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.release.xcconfig"; sourceTree = ""; }; + FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.debug.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.debug.xcconfig"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 504EC3011FED79650016851F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A084ECDBA7D38E1E42DFC39D /* Pods_App.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 27E2DDA53C4D2A4D1A88CE4A /* Frameworks */ = { + isa = PBXGroup; + children = ( + AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 504EC2FB1FED79650016851F = { + isa = PBXGroup; + children = ( + 504EC3061FED79650016851F /* App */, + 504EC3051FED79650016851F /* Products */, + 7F8756D8B27F46E3366F6CEA /* Pods */, + 27E2DDA53C4D2A4D1A88CE4A /* Frameworks */, + ); + sourceTree = ""; + }; + 504EC3051FED79650016851F /* Products */ = { + isa = PBXGroup; + children = ( + 504EC3041FED79650016851F /* App.app */, + ); + name = Products; + sourceTree = ""; + }; + 504EC3061FED79650016851F /* App */ = { + isa = PBXGroup; + children = ( + 50379B222058CBB4000EE86E /* capacitor.config.json */, + 504EC3071FED79650016851F /* AppDelegate.swift */, + 504EC30B1FED79650016851F /* Main.storyboard */, + 504EC30E1FED79650016851F /* Assets.xcassets */, + 504EC3101FED79650016851F /* LaunchScreen.storyboard */, + 504EC3131FED79650016851F /* Info.plist */, + 2FAD9762203C412B000D30F8 /* config.xml */, + 50B271D01FEDC1A000F3C39B /* public */, + ); + path = App; + sourceTree = ""; + }; + 7F8756D8B27F46E3366F6CEA /* Pods */ = { + isa = PBXGroup; + children = ( + FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */, + AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 504EC3031FED79650016851F /* App */ = { + isa = PBXNativeTarget; + buildConfigurationList = 504EC3161FED79650016851F /* Build configuration list for PBXNativeTarget "App" */; + buildPhases = ( + 6634F4EFEBD30273BCE97C65 /* [CP] Check Pods Manifest.lock */, + 504EC3001FED79650016851F /* Sources */, + 504EC3011FED79650016851F /* Frameworks */, + 504EC3021FED79650016851F /* Resources */, + 9592DBEFFC6D2A0C8D5DEB22 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = App; + productName = App; + productReference = 504EC3041FED79650016851F /* App.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 504EC2FC1FED79650016851F /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0920; + LastUpgradeCheck = 0920; + TargetAttributes = { + 504EC3031FED79650016851F = { + CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1100; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 504EC2FF1FED79650016851F /* Build configuration list for PBXProject "App" */; + compatibilityVersion = "Xcode 8.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 504EC2FB1FED79650016851F; + packageReferences = ( + ); + productRefGroup = 504EC3051FED79650016851F /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 504EC3031FED79650016851F /* App */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 504EC3021FED79650016851F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 504EC3121FED79650016851F /* LaunchScreen.storyboard in Resources */, + 50B271D11FEDC1A000F3C39B /* public in Resources */, + 504EC30F1FED79650016851F /* Assets.xcassets in Resources */, + 50379B232058CBB4000EE86E /* capacitor.config.json in Resources */, + 504EC30D1FED79650016851F /* Main.storyboard in Resources */, + 2FAD9763203C412B000D30F8 /* config.xml in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 6634F4EFEBD30273BCE97C65 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-App-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 9592DBEFFC6D2A0C8D5DEB22 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 504EC3001FED79650016851F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 504EC3081FED79650016851F /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 504EC30B1FED79650016851F /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 504EC30C1FED79650016851F /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 504EC3101FED79650016851F /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 504EC3111FED79650016851F /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 504EC3141FED79650016851F /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 504EC3151FED79650016851F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 504EC3171FED79650016851F /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + INFOPLIST_FILE = App/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MARKETING_VERSION = 1.0; + OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\""; + PRODUCT_BUNDLE_IDENTIFIER = com.timesafari.dailynotification.test; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 504EC3181FED79650016851F /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + INFOPLIST_FILE = App/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.timesafari.dailynotification.test; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ""; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 504EC2FF1FED79650016851F /* Build configuration list for PBXProject "App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 504EC3141FED79650016851F /* Debug */, + 504EC3151FED79650016851F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 504EC3161FED79650016851F /* Build configuration list for PBXNativeTarget "App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 504EC3171FED79650016851F /* Debug */, + 504EC3181FED79650016851F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 504EC2FC1FED79650016851F /* Project object */; +} diff --git a/test-apps/daily-notification-test/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/test-apps/daily-notification-test/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/test-apps/daily-notification-test/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/test-apps/daily-notification-test/ios/App/App/AppDelegate.swift b/test-apps/daily-notification-test/ios/App/App/AppDelegate.swift new file mode 100644 index 0000000..c3cd83b --- /dev/null +++ b/test-apps/daily-notification-test/ios/App/App/AppDelegate.swift @@ -0,0 +1,49 @@ +import UIKit +import Capacitor + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool { + // Called when the app was launched with a url. Feel free to add additional processing here, + // but if you want the App API to support tracking app url opens, make sure to keep this call + return ApplicationDelegateProxy.shared.application(app, open: url, options: options) + } + + func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { + // Called when the app was launched with an activity, including Universal Links. + // Feel free to add additional processing here, but if you want the App API to support + // tracking app url opens, make sure to keep this call + return ApplicationDelegateProxy.shared.application(application, continue: userActivity, restorationHandler: restorationHandler) + } + +} diff --git a/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png new file mode 100644 index 0000000..adf6ba0 Binary files /dev/null and b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png differ diff --git a/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..9b7d382 --- /dev/null +++ b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,14 @@ +{ + "images" : [ + { + "filename" : "AppIcon-512@2x.png", + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Contents.json b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json new file mode 100644 index 0000000..d7d96a6 --- /dev/null +++ b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "splash-2732x2732-2.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "splash-2732x2732-1.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "splash-2732x2732.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png new file mode 100644 index 0000000..33ea6c9 Binary files /dev/null and b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png differ diff --git a/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png new file mode 100644 index 0000000..33ea6c9 Binary files /dev/null and b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png differ diff --git a/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png new file mode 100644 index 0000000..33ea6c9 Binary files /dev/null and b/test-apps/daily-notification-test/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png differ diff --git a/test-apps/daily-notification-test/ios/App/App/Base.lproj/LaunchScreen.storyboard b/test-apps/daily-notification-test/ios/App/App/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..e7ae5d7 --- /dev/null +++ b/test-apps/daily-notification-test/ios/App/App/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test-apps/daily-notification-test/ios/App/App/Base.lproj/Main.storyboard b/test-apps/daily-notification-test/ios/App/App/Base.lproj/Main.storyboard new file mode 100644 index 0000000..b44df7b --- /dev/null +++ b/test-apps/daily-notification-test/ios/App/App/Base.lproj/Main.storyboard @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/test-apps/daily-notification-test/ios/App/App/Info.plist b/test-apps/daily-notification-test/ios/App/App/Info.plist new file mode 100644 index 0000000..800835f --- /dev/null +++ b/test-apps/daily-notification-test/ios/App/App/Info.plist @@ -0,0 +1,49 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + Daily Notification Test + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + + + diff --git a/test-apps/daily-notification-test/ios/App/Podfile b/test-apps/daily-notification-test/ios/App/Podfile new file mode 100644 index 0000000..8459153 --- /dev/null +++ b/test-apps/daily-notification-test/ios/App/Podfile @@ -0,0 +1,24 @@ +require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers' + +platform :ios, '13.0' +use_frameworks! + +# workaround to avoid Xcode caching of Pods that requires +# Product -> Clean Build Folder after new Cordova plugins installed +# Requires CocoaPods 1.6 or newer +install! 'cocoapods', :disable_input_output_paths => true + +def capacitor_pods + pod 'Capacitor', :path => '../../node_modules/@capacitor/ios' + pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios' +end + +target 'App' do + capacitor_pods + # Add your Pods here + pod 'DailyNotificationPlugin', :path => '../../../ios' +end + +post_install do |installer| + assertDeploymentTarget(installer) +end diff --git a/test-apps/ios-test-app/App/App/AppDelegate.swift b/test-apps/ios-test-app/App/App/AppDelegate.swift new file mode 100644 index 0000000..fe22ca7 --- /dev/null +++ b/test-apps/ios-test-app/App/App/AppDelegate.swift @@ -0,0 +1,106 @@ +// +// AppDelegate.swift +// DailyNotification Test App +// +// Application delegate for the Daily Notification Plugin demo app. +// Registers the native content fetcher SPI implementation. +// +// @author Matthew Raymer +// @version 1.0.0 +// @created 2025-11-04 +// + +import UIKit +import Capacitor + +/** + * Application delegate for Daily Notification Plugin demo app + * Equivalent to PluginApplication.java on Android + */ +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + func application( + _ application: UIApplication, + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? + ) -> Bool { + // Initialize Daily Notification Plugin demo fetcher + // Note: This is called before Capacitor bridge is initialized + // Plugin registration happens in ViewController + + print("AppDelegate: Initializing Daily Notification Plugin demo app") + + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Pause ongoing tasks + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Release resources when app enters background + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Restore resources when app enters foreground + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart paused tasks + } + + func applicationWillTerminate(_ application: UIApplication) { + // Save data before app terminates + } + + // MARK: - URL Scheme Handling + + func application( + _ app: UIApplication, + open url: URL, + options: [UIApplication.OpenURLOptionsKey: Any] = [:] + ) -> Bool { + // Handle URL schemes (e.g., deep links) + return ApplicationDelegateProxy.shared.application(app, open: url, options: options) + } + + // MARK: - Universal Links + + func application( + _ application: UIApplication, + continue userActivity: NSUserActivity, + restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void + ) -> Bool { + // Handle universal links + return ApplicationDelegateProxy.shared.application( + application, + continue: userActivity, + restorationHandler: restorationHandler + ) + } + + // MARK: - Push Notifications + + func application( + _ application: UIApplication, + didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data + ) { + // Handle device token registration + NotificationCenter.default.post( + name: Notification.Name("didRegisterForRemoteNotifications"), + object: nil, + userInfo: ["deviceToken": deviceToken] + ) + } + + func application( + _ application: UIApplication, + didFailToRegisterForRemoteNotificationsWithError error: Error + ) { + // Handle registration failure + print("AppDelegate: Failed to register for remote notifications: \(error)") + } +} + diff --git a/test-apps/ios-test-app/App/App/Info.plist b/test-apps/ios-test-app/App/App/Info.plist new file mode 100644 index 0000000..3dfcc49 --- /dev/null +++ b/test-apps/ios-test-app/App/App/Info.plist @@ -0,0 +1,119 @@ + + + + + + CFBundleDisplayName + DailyNotification Test + + + CFBundleIdentifier + com.timesafari.dailynotification + + + CFBundleName + DailyNotification Test App + + + CFBundleShortVersionString + 1.0.0 + + + CFBundleVersion + 1 + + + LSMinimumSystemVersion + 13.0 + + + UIDeviceFamily + + 1 + 2 + + + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + + UIStatusBarStyle + UIStatusBarStyleDefault + + + UIStatusBarHidden + + + + UILaunchStoryboardName + LaunchScreen + + + NSUserNotificationsUsageDescription + This app uses notifications to deliver daily updates and reminders. + + + UIBackgroundModes + + background-fetch + background-processing + remote-notification + + + + BGTaskSchedulerPermittedIdentifiers + + com.timesafari.dailynotification.fetch + com.timesafari.dailynotification.notify + + + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSExceptionDomains + + + + + + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + + + + + + + UIApplicationExitsOnSuspend + + + + diff --git a/test-apps/ios-test-app/App/App/SceneDelegate.swift b/test-apps/ios-test-app/App/App/SceneDelegate.swift new file mode 100644 index 0000000..4e012a6 --- /dev/null +++ b/test-apps/ios-test-app/App/App/SceneDelegate.swift @@ -0,0 +1,61 @@ +// +// SceneDelegate.swift +// DailyNotification Test App +// +// Scene delegate for iOS 13+ scene-based lifecycle. +// Handles scene creation and lifecycle events. +// +// @author Matthew Raymer +// @version 1.0.0 +// @created 2025-11-04 +// + +import UIKit + +/** + * Scene delegate for iOS 13+ scene-based lifecycle + * Required for modern iOS apps using scene-based architecture + */ +@available(iOS 13.0, *) +class SceneDelegate: UIResponder, UIWindowSceneDelegate { + + var window: UIWindow? + + func scene( + _ scene: UIScene, + willConnectTo session: UISceneSession, + options connectionOptions: UIScene.ConnectionOptions + ) { + // Called when a new scene session is being created + guard let windowScene = (scene as? UIWindowScene) else { return } + + let window = UIWindow(windowScene: windowScene) + self.window = window + + // Create and configure the view controller + let viewController = ViewController() + window.rootViewController = viewController + window.makeKeyAndVisible() + } + + func sceneDidDisconnect(_ scene: UIScene) { + // Called when the scene is being released by the system + } + + func sceneDidBecomeActive(_ scene: UIScene) { + // Called when the scene has moved from inactive to active state + } + + func sceneWillResignActive(_ scene: UIScene) { + // Called when the scene will move from active to inactive state + } + + func sceneWillEnterForeground(_ scene: UIScene) { + // Called when the scene is about to move from background to foreground + } + + func sceneDidEnterBackground(_ scene: UIScene) { + // Called when the scene has moved from background to foreground + } +} + diff --git a/test-apps/ios-test-app/App/App/ViewController.swift b/test-apps/ios-test-app/App/App/ViewController.swift new file mode 100644 index 0000000..79bbe32 --- /dev/null +++ b/test-apps/ios-test-app/App/App/ViewController.swift @@ -0,0 +1,69 @@ +// +// ViewController.swift +// DailyNotification Test App +// +// Main view controller for the Daily Notification Plugin demo app. +// Equivalent to MainActivity.java on Android - extends Capacitor's bridge. +// +// @author Matthew Raymer +// @version 1.0.0 +// @created 2025-11-04 +// + +import UIKit +import Capacitor + +/** + * Main view controller extending Capacitor's bridge view controller + * Equivalent to MainActivity extends BridgeActivity on Android + */ +class ViewController: CAPBridgeViewController { + + override func viewDidLoad() { + super.viewDidLoad() + + // Initialize Daily Notification Plugin demo fetcher + // This is called after Capacitor bridge is initialized + initializePlugin() + } + + /** + * Initialize plugin and register native fetcher + * Equivalent to PluginApplication.onCreate() on Android + */ + private func initializePlugin() { + print("ViewController: Initializing Daily Notification Plugin") + + // Note: Plugin registration happens automatically via Capacitor + // Native fetcher registration can be done here if needed + + // Example: Register demo native fetcher (if implementing SPI) + // DailyNotificationPlugin.setNativeFetcher(DemoNativeFetcher()) + + print("ViewController: Daily Notification Plugin initialized") + } + + override func viewWillAppear(_ animated: Bool) { + super.viewWillAppear(animated) + } + + override func viewDidAppear(_ animated: Bool) { + super.viewDidAppear(animated) + } + + override func viewWillDisappear(_ animated: Bool) { + super.viewWillDisappear(animated) + } + + override func viewDidDisappear(_ animated: Bool) { + super.viewDidDisappear(animated) + } + + // MARK: - Memory Management + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated + } +} + diff --git a/test-apps/ios-test-app/App/App/capacitor.config.json b/test-apps/ios-test-app/App/App/capacitor.config.json new file mode 100644 index 0000000..b9ae162 --- /dev/null +++ b/test-apps/ios-test-app/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/test-apps/ios-test-app/App/App/config.xml b/test-apps/ios-test-app/App/App/config.xml new file mode 100644 index 0000000..1b1b0e0 --- /dev/null +++ b/test-apps/ios-test-app/App/App/config.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/test-apps/ios-test-app/App/App/public/cordova.js b/test-apps/ios-test-app/App/App/public/cordova.js new file mode 100644 index 0000000..e69de29 diff --git a/test-apps/ios-test-app/App/App/public/cordova_plugins.js b/test-apps/ios-test-app/App/App/public/cordova_plugins.js new file mode 100644 index 0000000..e69de29 diff --git a/test-apps/ios-test-app/App/App/public/index.html b/test-apps/ios-test-app/App/App/public/index.html new file mode 100644 index 0000000..c788751 --- /dev/null +++ b/test-apps/ios-test-app/App/App/public/index.html @@ -0,0 +1,575 @@ + + + + + + + + + DailyNotification Plugin Test + + + +
+

🔔 DailyNotification Plugin Test

+

Test the DailyNotification plugin functionality

+

Build: 2025-10-14 05:00:00 UTC

+ + + + + +

🔔 Notification Tests

+ + + + +

🔐 Permission Management

+ + + + +

📢 Channel Management

+ + + + +
+ Ready to test... +
+
+ + + + diff --git a/test-apps/ios-test-app/App/Podfile b/test-apps/ios-test-app/App/Podfile new file mode 100644 index 0000000..a0cc88e --- /dev/null +++ b/test-apps/ios-test-app/App/Podfile @@ -0,0 +1,20 @@ +require_relative '../../../node_modules/@capacitor/ios/scripts/pods_helpers' + +platform :ios, '13.0' +use_frameworks! + +install! 'cocoapods', :disable_input_output_paths => true + +def capacitor_pods + pod 'Capacitor', :path => '../../../node_modules/@capacitor/ios' + pod 'CapacitorCordova', :path => '../../../node_modules/@capacitor/ios' + pod 'DailyNotificationPlugin', :path => '../../../ios' +end + +target 'App' do + capacitor_pods +end + +post_install do |installer| + assertDeploymentTarget(installer) +end diff --git a/test-apps/ios-test-app/App/capacitor.config.json b/test-apps/ios-test-app/App/capacitor.config.json new file mode 100644 index 0000000..478cdbf --- /dev/null +++ b/test-apps/ios-test-app/App/capacitor.config.json @@ -0,0 +1,11 @@ +{ + "appId": "com.timesafari.dailynotification", + "appName": "DailyNotification Test App", + "webDir": "public", + "plugins": { + "DailyNotification": { + "debugMode": true, + "enableNotifications": true + } + } +}