Rebrand to Waseel, swap Stripe for Areeba, add phone-ready auth and DB seed
- Rename app: Waseel (name, slug, scheme waseel://, com.waseel.app ids, splash) - Payments: replace Stripe with Areeba hosted checkout (create/verify API routes, lib/areeba.ts, WebBrowser-based payment flow) - Maps: migrate address autocomplete to Places API (New), drop legacy library - Web support: map stub for web (native maps are iOS/Android only) - Auth: keep email + Google OAuth; fix OAuth redirect for Expo Go - Add scripts/seed-db.mjs (schema + Lebanese driver seed) - Pin Expo SDK 51 compatible package versions
This commit is contained in:
+4
-3
@@ -44,10 +44,11 @@ type StartOAuthFlowType = (
|
||||
|
||||
export const googleOAuth = async (startOAuthFlow: StartOAuthFlowType) => {
|
||||
try {
|
||||
// No explicit scheme: in Expo Go this resolves to exp://... so the
|
||||
// browser can redirect back into the app; in a standalone build it
|
||||
// automatically uses the app.json scheme ("waseel").
|
||||
const { createdSessionId, signUp, setActive } = await startOAuthFlow({
|
||||
redirectUrl: Linking.createURL("/(root)/(tabs)/home", {
|
||||
scheme: "ryde", // match with scheme in app.json
|
||||
}),
|
||||
redirectUrl: Linking.createURL("/(root)/(tabs)/home"),
|
||||
});
|
||||
|
||||
if (createdSessionId) {
|
||||
|
||||
Reference in New Issue
Block a user