This repository was archived by the owner on Apr 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ firebase.init = arg => {
314314 initializeArguments = arg ;
315315
316316 com . google . firebase . analytics . FirebaseAnalytics . getInstance (
317- appModule . android . currentContext || com . tns . NativeScriptApplication . getInstance ( )
317+ appModule . android . context || com . tns . NativeScriptApplication . getInstance ( )
318318 ) . setAnalyticsCollectionEnabled ( arg . analyticsCollectionEnabled !== false ) ;
319319
320320 if ( typeof ( com . google . firebase . database ) !== "undefined" && typeof ( com . google . firebase . database . ServerValue ) !== "undefined" ) {
@@ -1114,7 +1114,7 @@ firebase.login = arg => {
11141114
11151115 const signInIntent = com . google . android . gms . auth . api . Auth . GoogleSignInApi . getSignInIntent ( firebase . _mGoogleApiClient ) ;
11161116
1117- appModule . android . currentContext . startActivityForResult ( signInIntent , GOOGLE_SIGNIN_INTENT_ID ) ;
1117+ appModule . android . context . startActivityForResult ( signInIntent , GOOGLE_SIGNIN_INTENT_ID ) ;
11181118
11191119 const callback = ( eventData : AndroidActivityResultEventData ) => {
11201120 if ( eventData . requestCode === GOOGLE_SIGNIN_INTENT_ID ) {
You can’t perform that action at this time.
0 commit comments