Repository navigation
chore: [SDK-5763] sync demo_pods web source with demo (2/2) - #85
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
abdulraqeeb33
left a comment
There was a problem hiding this comment.
Sync looks complete. demo_pods/src, capacitor.config.ts, and android/capacitor.settings.gradle match demo at e9b1d47, and the splash-screen dependency, pod, and Gradle include are in place.
One edge case, same code as demo: launchAutoHide: false plus SplashScreen.hide() only after isReady means a rejected initial load() never dismisses the splash. The catch in useOneSignal.ts uses console.error and does not call setIsReady(true), so promptPush() never runs either. Set ready and log.error in that catch in both demos, or the next sync will drop a one-sided fix.
Nit: if hide() itself rejects, HomeScreen.tsx still prompts, which puts the permission dialog back on the splash.
Mark the demo ready after a failed initial load so the splash hides and the push prompt still runs, and log the error to the in-app log. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@abdulraqeeb33 Good catch, fixed in both demos in 64616d3. Leaving the hide() nit since that catch is there for web. |
Description
One Line Summary
Sync
demo_podsweb source and Capacitor config withdemo.Details
Motivation
demo_pods/srchad drifted fromdemo/src(noLogService/LogView), so the Appium suite failed on--podsruns.Scope
demo/srcandcapacitor.config.tsintodemo_pods.@capacitor/splash-screen, whichdemoalready uses.Podfileandcapacitor.settings.gradlecome fromcap sync.Stack
Testing
Manual testing
iOS 27 simulator: full Capacitor Appium suite with
--pods, 36 passing. Ran with the runner fixes for thedemo_podspath and workspace build applied locally (SDK-5764).Affected code checklist
Checklist
Overview
Testing
Final pass
🤖 Generated with Claude Code