Closed comtaler closed 7 years ago
Did you sign your app? If you didn't sign your application you won't be able to send invites.
From https://github.com/firebase/quickstart-unity/blob/master/invites/testapp/readme.md
Publishing Settings
under Player Settings
. keytool -exportcert -list -v -alias <key_name> -keystore <path_to_keystore>
You have the start of a crash (stack trace) in your report any chance you could share the complete log with us? If you can't post the trace here you can share it privately via https://firebase.google.com/support/contact/bugs-features/ just reference this issue.
Thanks for the reply. I originally started the test using our app's bundle ID. Now I re-tested it using the default bundle ID and created a new firebase project for it and things started to work fine. I will investigate more and update on this issue.
Not sure what was causing this. Couldn't reproduce it anymore after switching back to my own app's bundle ID. It maybe that I didn't run Play Services Resolver after changing bundle ID. The invite flow works now.
I just installed the Invites package and set everything up as per the guide. I am getting this exception as well, and my application IS signed.
08-19 16:16:02.309 15572 15572 E Unity : 08-19 16:16:02.309 15572 15572 E Unity : (Filename: ./Runtime/Export/Debug.bindings.h Line: 43) 08-19 16:16:02.309 15572 15572 E Unity : 08-19 16:16:02.322 15572 15599 I Unity : Invitation encountered an error: 08-19 16:16:02.322 15572 15599 I Unity : 08-19 16:16:02.322 15572 15599 I Unity : (Filename: ./Runtime/Export/Debug.bindings.h Line: 43) 08-19 16:16:02.322 15572 15599 I Unity : 08-19 16:16:02.322 15572 15599 I Unity : System.AggregateException: Exception of type 'System.AggregateException' was thrown. 08-19 16:16:02.322 15572 15599 I Unity : ----------------- 08-19 16:16:02.322 15572 15599 I Unity : Firebase.FirebaseException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference 08-19 16:16:02.322 15572 15599 I Unity : 08-19 16:16:02.322 15572 15599 I Unity : 08-19 16:16:02.322 15572 15599 I Unity : (Filename: ./Runtime/Export/Debug.bindings.h Line: 43) 08-19 16:16:02.322 15572 15599 I Unity :
I tried to run the Invite sample and received the following error when sending an invite:
Also, when I tried to create a dynamic link on the Firebase console manually and clicked the link to open the app, it crashes with the following error: