@proveanything/smartlinks-auth-ui 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -12472,9 +12472,9 @@ const detectWebView = () => {
|
|
|
12472
12472
|
return false;
|
|
12473
12473
|
};
|
|
12474
12474
|
const getNativeBridge = () => {
|
|
12475
|
-
console.log(`${LOG_PREFIX} 🔍 getNativeBridge checking for
|
|
12476
|
-
console.log(`${LOG_PREFIX} 🔍 window.
|
|
12477
|
-
const native = window.
|
|
12475
|
+
console.log(`${LOG_PREFIX} 🔍 getNativeBridge checking for Android bridge...`);
|
|
12476
|
+
console.log(`${LOG_PREFIX} 🔍 window.Android:`, window.Android);
|
|
12477
|
+
const native = window.Android;
|
|
12478
12478
|
if (native?.signInWithGoogle) {
|
|
12479
12479
|
console.log(`${LOG_PREFIX} ✅ Native bridge found!`, {
|
|
12480
12480
|
signInWithGoogle: !!native.signInWithGoogle,
|
|
@@ -12483,7 +12483,7 @@ const getNativeBridge = () => {
|
|
|
12483
12483
|
});
|
|
12484
12484
|
return native;
|
|
12485
12485
|
}
|
|
12486
|
-
console.log(`${LOG_PREFIX} ❌ No native bridge found (
|
|
12486
|
+
console.log(`${LOG_PREFIX} ❌ No native bridge found (Android.signInWithGoogle not available)`);
|
|
12487
12487
|
return null;
|
|
12488
12488
|
};
|
|
12489
12489
|
// Sign out from Google on the native side (clears cached Google account)
|