mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 10:19:43 +00:00
Both share modals opened the instagram-stories:// scheme without ever placing the captured PNG on the pasteboard, so Instagram opened an empty story. Replace the manual scheme launch with react-native-share shareSingle(INSTAGRAM_STORIES), which writes the image to UIPasteboard under com.instagram.sharedSticker.backgroundImage on iOS and uses the ADD_TO_STORY intent on Android. Gate the flow on the required Facebook App ID (EXPO_PUBLIC_FACEBOOK_APP_ID) and Instagram being installed, with fallback to the system share sheet, and remove the dead base64 reads. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
32 lines
1.5 KiB
Bash
32 lines
1.5 KiB
Bash
# Hosted Supabase Auth configuration (required). These public values are used
|
|
# only for identity; product data always uses EXPO_PUBLIC_API_URL.
|
|
# Local/E2E builds may use only the designated non-production Auth project.
|
|
EXPO_PUBLIC_SUPABASE_URL=
|
|
EXPO_PUBLIC_SUPABASE_ANON_KEY=
|
|
|
|
# Standalone Sauci product API (required). Supabase is used for Auth only.
|
|
# iOS simulator: http://127.0.0.1:3003
|
|
# Android emulator: http://10.0.2.2:3003
|
|
EXPO_PUBLIC_API_URL=http://127.0.0.1:3003
|
|
|
|
# Authenticated Maestro additionally reads E2E_EMAIL and E2E_PASSWORD from the
|
|
# invoking shell. Do not put those credentials in this Expo environment file or
|
|
# commit them. The test user must be disposable, onboarding-complete, and have a
|
|
# matching profile in the standalone non-production PostgreSQL database.
|
|
|
|
# Facebook App ID for Instagram Stories sharing (optional). Instagram requires
|
|
# a registered Facebook App ID for the Stories share flow; without it the
|
|
# Instagram share button falls back to the system share sheet.
|
|
# https://developers.facebook.com/docs/instagram/sharing-to-stories/
|
|
EXPO_PUBLIC_FACEBOOK_APP_ID=
|
|
|
|
# Sentry error tracking (optional - get DSN from https://sentry.io)
|
|
EXPO_PUBLIC_SENTRY_DSN=
|
|
|
|
# RevenueCat (for in-app subscriptions)
|
|
# Get your API keys from https://app.revenuecat.com
|
|
EXPO_PUBLIC_REVENUECAT_IOS_API_KEY=
|
|
EXPO_PUBLIC_REVENUECAT_ANDROID_API_KEY=
|
|
# Entitlement ID from RevenueCat dashboard (defaults to "pro" if not set)
|
|
EXPO_PUBLIC_REVENUECAT_ENTITLEMENT_ID=Sauci Pro
|