Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1013 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 1013 Bytes

Dummy domain: https://my-test-domain.com/appclip

Generate App Clip code locally:

AppClipCodeGenerator generate \
    --url 'https://my-test-domain.com/appclip' \
    --type cam \
    --foreground E0FF31 \
    --background 000000 \
    --output activtyRecommenderAppClipCode.svg

QR Code: activityRecommenderQRCode.png (with the dummy domain above).

Testing App Clip invocation locally:

  1. Go to Settings -> Developer -> App Clips Testing.

  2. Click Local Experiences -> Register Local Experience

    • Set url prefix with the domain set above (https:/./my-test-domain.com)
    • Set the bundle id as: com.timmyjose.ActivityRecommender.Clip (not the .Clip at the end!)
    • Set details for the app clip card:
      • Title: Activity Recommender
      • Subtitle: Recommends daily activities
      • Action: Open (default)

Now scan the App Clip code generated previously, and it should show the App Clip Card. Clicking Open on the App Clip Card should open the app clip.