Skip to content

chore: Auto-publish Expo example and add Expo Go QR code#399

Draft
MatiPl01 wants to merge 6 commits into
feat/auto-detect-expo-hapticsfrom
chore/expo-example-app-auto-publish
Draft

chore: Auto-publish Expo example and add Expo Go QR code#399
MatiPl01 wants to merge 6 commits into
feat/auto-detect-expo-hapticsfrom
chore/expo-example-app-auto-publish

Conversation

@MatiPl01
Copy link
Copy Markdown
Owner

@MatiPl01 MatiPl01 commented Jun 15, 2025

Summary

Sets up automatic publishing of the Expo example app so it can be opened in Expo Go via a QR code in the README and docs.

  • eas.json + .github/workflows/publish-expo-example.yml — publishes the example as an EAS Update on every push to main that touches the example or the library source (also runnable manually via workflow_dispatch).
  • expo-haptics added to the example so haptic feedback works in Expo Go (the library auto-detects it — see feat: Auto-detect expo-haptics when available #558).
  • QR code added to the README and docs intro, pointing at the production EAS Update channel.

Setup required

The workflow needs a repository secret named EXPO_TOKEN. Create a free token at expo.dev → Account → Access tokens and add it under Settings → Secrets and variables → Actions. The first publish (push to main or a manual run) makes the QR live.

Notes

@MatiPl01 MatiPl01 self-assigned this Jun 15, 2025
@MatiPl01 MatiPl01 added the enhancement New feature or request label Jun 15, 2025
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-sortables-docs Ready Ready Preview, Comment Jun 7, 2026 2:43pm

@MatiPl01 MatiPl01 force-pushed the chore/expo-example-app-auto-publish branch from e3b08f8 to aa32c40 Compare June 15, 2025 18:43
@MatiPl01 MatiPl01 force-pushed the chore/expo-example-app-auto-publish branch from aa32c40 to 8729b62 Compare June 7, 2026 13:44
@github-actions github-actions Bot added chore dependencies Pull requests that update a dependency file example and removed enhancement New feature or request labels Jun 7, 2026
MatiPl01 added 3 commits June 7, 2026 16:28
Add an optional expo-haptics adapter that reads the native module from the
Expo runtime registry (globalThis.expo.modules.ExpoHaptics) instead of
importing the package. This way it is picked up automatically in any Expo
app (including Expo Go) without breaking Metro bundling for bare React
Native apps that don't have it installed.

Haptics now prefer expo-haptics and fall back to react-native-haptic-feedback
for bare React Native setups.
- Add eas.json and a GitHub workflow that publishes the Expo example as an
  EAS Update on push to main (requires an EXPO_TOKEN repository secret).
- Add expo-haptics to the Expo example so haptics work in Expo Go.
- Add an "Open in Expo Go" QR code to the README and docs.
@MatiPl01 MatiPl01 force-pushed the chore/expo-example-app-auto-publish branch from 8729b62 to 4cfb580 Compare June 7, 2026 14:43
@github-actions github-actions Bot added ci documentation Improvements or additions to documentation labels Jun 7, 2026
@MatiPl01 MatiPl01 changed the title chore: Example app auto publish with expo chore: Auto-publish Expo example and add Expo Go QR code Jun 7, 2026
@MatiPl01 MatiPl01 changed the base branch from main to feat/auto-detect-expo-haptics June 7, 2026 14:43
@MatiPl01 MatiPl01 force-pushed the feat/auto-detect-expo-haptics branch from 51f2160 to 76c2903 Compare June 8, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore ci dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation example

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant