File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,6 @@ function onAppleAuthResponse(responseContent) {
287287 console .log (" onAppleAuthResponse responseContent" , responseContent);
288288}
289289
290- // Apple authentication requires API 19+, so we check before showing the login button
291290// If no iOS or Android is supported than we use webView fallback with custom button
292291function App () {
293292
@@ -315,7 +314,11 @@ function App() {
315314 return (
316315 < View>
317316
317+
318318 {
319+ // It makes sense to show the native buttons in a real app,
320+ // something like the code below, but we are just demonstrating web login here so it is commented out
321+
319322 // (appleAuth.isSupported || appleAuthAndroid.isSupported) ? (
320323 // <AppleButton
321324 // buttonStyle={AppleButton.Style.BLACK}
You can’t perform that action at this time.
0 commit comments