You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Foldables: layout around the crease, hinge angle and posture, inner vs outer display, Ionic tabs on iPhone Duo, testing on the Duo simulator and foldable emulators
Home / Explore / Settings — three-tab default layout
Architecture
A shared utilities + framework wrappers pattern keeps Capacitor logic in one place:
utils/ — framework-agnostic TypeScript functions calling Capacitor plugins (AdMob, RevenueCat, Preferences, etc.). Defined once in ionic-shared, copied identically into each framework's project.
Angular — services/ wrap the utilities with @Injectable({ providedIn: 'root' }) and expose state as readonly Signals (signal-store pattern). Pages use ChangeDetectionStrategy.OnPush, modern built-in control flow (@if / @for), and inject() for DI. Skill avoids any APIs marked "developer preview" / "experimental" (no linkedSignal, resource, or Signal Forms until they graduate).
React — hooks/ wrap the utilities with useCallback.
Vue — composables/ wrap the utilities as functions returning state + actions.