This repository was archived by the owner on Apr 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const GOOGLE_SIGNIN_INTENT_ID = 123;
2020const REQUEST_INVITE_INTENT_ID = 48 ;
2121
2222const messagingEnabled = lazy ( ( ) => typeof ( com . google . firebase . messaging ) !== "undefined" ) ;
23- const dynamicLinksEnabled = lazy ( ( ) => typeof ( com . google . android . gms . appinvite ) !== "undefined" ) ;
23+ const dynamicLinksEnabled = lazy ( ( ) => typeof ( com . google . firebase . dynamiclinks ) !== "undefined" ) ;
2424
2525( ( ) => {
2626 // note that this means we need to 'require()' the plugin before the app is loaded
@@ -499,8 +499,8 @@ firebase.addOnMessageReceivedCallback = callback => {
499499firebase . addOnDynamicLinkReceivedCallback = callback => {
500500 return new Promise ( ( resolve , reject ) => {
501501 try {
502- if ( typeof ( com . google . android . gms . appinvite ) === "undefined" ) {
503- reject ( "Uncomment invites in the plugin's include.gradle first" ) ;
502+ if ( typeof ( com . google . firebase . dynamiclinks ) === "undefined" ) {
503+ reject ( "Uncomment dynamic links in the plugin's include.gradle first" ) ;
504504 return ;
505505 }
506506
Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ firebase.addOnDynamicLinkReceivedCallback = callback => {
329329 return new Promise ( ( resolve , reject ) => {
330330 try {
331331 if ( typeof ( FIRDynamicLink ) === "undefined" ) {
332- reject ( "Enable FIRInvites in Podfile first" ) ;
332+ reject ( "Enable FIRInvites in the Podfile first" ) ;
333333 return ;
334334 }
335335
You can’t perform that action at this time.
0 commit comments