Skip to content

feat: TipKit API for Android (native Skip module) - #1

Open
IT-Guy007 wants to merge 6 commits into
mainfrom
feature/tips-engine-core
Open

IT-Guy007 wants to merge 6 commits into
mainfrom
feature/tips-engine-core

Conversation

@IT-Guy007

@IT-Guy007 IT-Guy007 commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

SkipTipKit: TipKit's API on Android. On Apple platforms the module re-exports TipKit unchanged. On Android it provides the same API in Swift, with the same inline look and the same modifiers for custom looks.

Changes

  • Native (Fuse) Skip module with skip-fuse and skip-fuse-ui. TipKit is protocol based and apps conform to Tip in Swift, so the library has to be Swift on Android too; a transpiled module cannot be conformed to from native Swift.
  • Android API: Tip (default id, message, image, actions, rules, options), Tips.Event, Tips.Rule (donations(of:atLeast:), when), Tips.Action, Tips.MaxDisplayCount, Tips.IgnoresDisplayFrequency, Tips.DisplayFrequency, Tips.configure, Tips.resetDatastore, the ...ForTesting helpers, invalidate(reason:), shouldDisplay.
  • TipView with a TipKit-style inline look, TipViewStyle and the tipViewStyle, tipImageSize, tipCornerRadius, tipBackground modifiers.
  • TipsEngine: platform-neutral rules (display frequency, shown once until reset, event counts, invalidation, reset, on/off) with tests.

Known deviations

  • No #Rule macro on Android yet; use Tips.Rule.donations(of:atLeast:) (also add it on Apple through a macro-free helper in a later change).
  • TipViewStyle.Configuration has plain views instead of TipKit's nested view types.
  • No popoverTip, statusUpdates or @Parameter yet.

Notes

Not compiled locally; CI is the first build.


Generated by Claude Code

@IT-Guy007 IT-Guy007 self-assigned this Dec 1, 2026
@IT-Guy007 IT-Guy007 changed the title feat: tips engine core and Skip package structure feat: TipKit API for Android (native Skip module) Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant