Commit Graph

4 Commits

Author SHA1 Message Date
Matthew Raymer
d9bdeb6d02 refactor(android)!: restructure to standard Capacitor plugin layout
Restructure Android project from nested module layout to standard
Capacitor plugin structure following community conventions.

Structure Changes:
- Move plugin code from android/plugin/ to android/src/main/java/
- Move test app from android/app/ to test-apps/android-test-app/app/
- Remove nested android/plugin module structure
- Remove nested android/app test app structure

Build Infrastructure:
- Add Gradle wrapper files (gradlew, gradlew.bat, gradle/wrapper/)
- Transform android/build.gradle from root project to library module
- Update android/settings.gradle for standalone plugin builds
- Add android/gradle.properties with AndroidX configuration
- Add android/consumer-rules.pro for ProGuard rules

Configuration Updates:
- Add prepare script to package.json for automatic builds on npm install
- Update package.json version to 1.0.1
- Update android/build.gradle to properly resolve Capacitor dependencies
- Update test-apps/android-test-app/settings.gradle with correct paths
- Remove android/variables.gradle (hardcode values in build.gradle)

Documentation:
- Update BUILDING.md with new structure and build process
- Update INTEGRATION_GUIDE.md to reflect standard structure
- Update README.md to remove path fix warnings
- Add test-apps/BUILD_PROCESS.md documenting test app build flows

Test App Configuration:
- Fix android-test-app to correctly reference plugin and Capacitor
- Remove capacitor-cordova-android-plugins dependency (not needed)
- Update capacitor.settings.gradle path verification in fix script

BREAKING CHANGE: Plugin now uses standard Capacitor Android structure.
Consuming apps must update their capacitor.settings.gradle to reference
android/ instead of android/plugin/. This is automatically handled by
Capacitor CLI for apps using standard plugin installation.
2025-11-05 08:08:37 +00:00
Matthew Raymer
614ff7b5e4 docs: complete Phase 8 documentation and examples
- Update README with native-first architecture and compatibility matrix
- Enhance API documentation with TimeSafari-specific examples
- Update integration guide with current architecture and troubleshooting
- Add comprehensive observability dashboards guide
- Add accessibility and localization implementation guide
- Add legal and store compliance guide
- Add manual smoke testing documentation
- Update all documentation to reflect native-first architecture

Documentation: API reference, integration guide, observability, A11y, compliance
2025-10-08 06:19:14 +00:00
Matthew Raymer
8ee97e5401 docs(integration): update integration guide and add host app examples
- Update INTEGRATION_GUIDE.md to version 2.1.0 with generic polling support
- Add comprehensive generic polling integration section with quick start guide
- Include TimeSafariPollingService class example with complete implementation
- Add Vue component integration patterns with PlatformServiceMixin updates
- Update Capacitor configuration with genericPolling section and legacy compatibility
- Add TypeScript service methods for setupStarredProjectsPolling and handlePollingResult
- Include JWT token management, watermark CAS, and error handling examples
- Add examples/hello-poll.ts with minimal host-app integration example
- Add examples/stale-data-ux.ts with platform-specific UX snippets for stale data
- Include complete end-to-end workflow from config → schedule → delivery → ack → CAS
- Document backward compatibility with existing dual scheduling approach

Provides production-ready integration patterns for TimeSafari host applications.
2025-10-07 04:44:19 +00:00
Matthew Raymer
fe82fd2147 feat: Update test-apps for TimeSafari integration with Endorser.ch API patterns
- Add comprehensive configuration system with timesafari-config.json
- Create shared config-loader.ts with TypeScript interfaces and mock services
- Update Android test app to use TimeSafari community notification patterns
- Update iOS test app with rolling window and community features
- Update Electron test app with desktop-specific TimeSafari integration
- Enhance test API server to simulate Endorser.ch API endpoints
- Add pagination support with afterId/beforeId parameters
- Implement parallel API requests pattern for offers, projects, people, items
- Add community analytics and notification bundle endpoints
- Update all test app UIs for TimeSafari-specific functionality
- Update README with comprehensive TimeSafari testing guide

All test apps now demonstrate:
- Real Endorser.ch API integration patterns
- TimeSafari community-building features
- Platform-specific optimizations (Android/iOS/Electron)
- Comprehensive error handling and performance monitoring
- Configuration-driven testing with type safety
2025-09-24 07:38:53 +00:00