mobile bluesky app made with flutter lazurite.stormlightlabs.org/
mobile bluesky flutter
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: don't auto fire custom scheme bridge

+8 -1
+8 -1
www/oauth/callback/index.html
··· 23 23 <script> 24 24 const query = window.location.search || ''; 25 25 const fragment = window.location.hash || ''; 26 - const reopenUrl = `org.stormlightlabs.lazurite:/oauth/callback${query}${fragment}`; 26 + const isAppleMobile = 27 + /iPad|iPhone|iPod/.test(window.navigator.userAgent) || 28 + (window.navigator.platform === 'MacIntel' && window.navigator.maxTouchPoints > 1); 29 + const reopenPath = isAppleMobile ? '//oauth/callback' : '/oauth/callback'; 30 + const reopenUrl = `org.stormlightlabs.lazurite:${reopenPath}${query}${fragment}`; 27 31 const reopenLink = document.getElementById('reopen-link'); 28 32 const autoOpenKey = `lazurite.oauth.reopen.${query}${fragment}`; 29 33 ··· 42 46 } 43 47 44 48 window.addEventListener('load', function () { 49 + if (isAppleMobile) { 50 + return; 51 + } 45 52 window.setTimeout(attemptReopen, 250); 46 53 }); 47 54 </script>