Skip to content

Commit

Permalink
Merge pull request #620 from tkyaji/master
Browse files Browse the repository at this point in the history
Fix not to create instance of AppLovinSdk class.
  • Loading branch information
rampara authored Feb 28, 2018
2 parents e7d0995 + b618880 commit d562d72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void Initialize()
MonoBehaviour.print("AppLovin intialize received");
AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer");
AndroidJavaObject currentActivity = unityPlayer.GetStatic<AndroidJavaObject>("currentActivity");
AndroidJavaObject appLovin = new AndroidJavaObject("com.applovin.sdk.AppLovinSdk");
AndroidJavaClass appLovin = new AndroidJavaClass("com.applovin.sdk.AppLovinSdk");
appLovin.CallStatic("initializeSdk", currentActivity);
}
}
Expand Down

0 comments on commit d562d72

Please sign in to comment.