Skip to content

Commit

Permalink
Disable Sign In with Twitter
Browse files Browse the repository at this point in the history
This only leaves Sign In With Apple (except in Android), and sign in with SMS and email.
  • Loading branch information
SailingSteve committed Feb 28, 2024
1 parent 05e7142 commit d34cf40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ class App extends Component {
}, 2000);
}

if (!webAppConfig.ENABLE_TWITTER) {
webAppConfig.ENABLE_TWITTER = false; // Avoid crashes in Feb/March 2024 in case not in config.js
}

if (isCordova()) {
const size = isIOS() ? getIOSSizeString() : getAndroidSize();
console.log('Cordova: device model', window.device.model, ' size: ', size);
Expand Down

0 comments on commit d34cf40

Please sign in to comment.