Welcome to the Troubleshooting Guide

We collected the most common issues and questions developers faced with.
If you don’t find the anwer for your question here, contact us at support@getsocial.im or via Intercom.

Generic

Question I see the following image when opening the Invites UI:
Invites View Issue

Answer Make sure SDK is initialized when you open the Invites UI. If you want to open it immediately as the app starts, put the Invite UI opening code into GetSocial.addOnInitializedListener callback.

iOS

Question: I see this exception on the application start:

1
'NSInvalidArgumentException', reason: '-[FIRA_AppDelegate-1525737441942 toGetSocialNotification:]: unrecognized selector sent to instance 0x1c0035060'

Answer: Just add FirebaseAppDelegateProxyEnabled entry of type Boolean with value NO to your Info.plist and these lines to your AppDelegate.m:

1
2
3
func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
    FIRMessaging().apnsToken = deviceToken
}

You can find more info here.

Question I’m using GetSocial SDK and my app crashes on older devices running iOS < 12.2.0:

Answer:
1. Check if Always Embed Swift Standard Libraries is set to Yes in your project’s Build Settings
1. If you use CocoaPods, make sure use_frameworks! flag is added to your Podfile. If you need to add it, run pod install and make a clean build.

Unity

Question: I get the following error on Android when trying to run any GetSocial related method:

1
Exception: No such proxy method: UnityEngine.AndroidJavaRunnableProxy.run()

Answer:
Check the Stripping Level configuration in Player Settings, it should be set to Disabled.

Question: I get an error message saying Error: keytool command line utility does not exist.

Answer: Update your GetSocial SDK version to the latest version, or you can get Signing-certificate fingerprint using keytool, as it is described here.

Question: When I try to update GetSocial SDK, I get an error on Windows message saying System.UnauthorizedAccessException: Access to the path
"<PATH>Assets\GetSocial\Plugins\Android\getsocial-library-release.*" is denied..

Answer: Delete folder at <PATH>Assets\GetSocial\Plugins\Android manually and download Android libraries in GetSocialEdit SettingsAndroid Settings section.

Question: I get an error message saying: java.lang.RuntimeException: Duplicate class com.android.installreferrer.BuildConfig found in modules classes.jar (:com.android.installreferrer.installreferrer-1.0:) and classes.jar (com.android.installreferrer:installreferrer:1.1)

Answer:

  1. Delete Assets/GetSocial/Plugins/Android/GooglePlayInstallReferrer library
  2. Add systemProp.im.getsocial.plugin.excludeInstallReferrer=true to your gradle.properties file
  3. In Unity Editor go to Player Settings -> Android -> Publishing Settings:
    • Enable Custom Gradle Properties Template.
    • Open Assets/Plugins/Android/gradleTemplate.properties file
    • Add systemProp.im.getsocial.plugin.excludeInstallReferrer=true line

Give us your feedback! Was this article helpful?

😀 🙁