Skip to content

Commit

Permalink
Fixed method call to setUserId and setAttribute
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysharm committed Sep 27, 2018
1 parent b68fa78 commit a519667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugins/TestFairy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ public static void setUserId(string userId) {
#elif UNITY_ANDROID && !UNITY_EDITOR
using(AndroidJavaClass pluginClass = getTestFairyClass()) {
if(pluginClass != null) {
pluginClass.CallStatic("setUserId", "TestFairyUnity", userId);
pluginClass.CallStatic("setUserId", userId);
}
}
#endif
Expand All @@ -371,7 +371,7 @@ public static bool setAttribute(string aKey, string aValue) {
#elif UNITY_ANDROID && !UNITY_EDITOR
using(AndroidJavaClass pluginClass = getTestFairyClass()) {
if(pluginClass != null) {
added = pluginClass.CallStatic<bool>("setAttribute", "TestFairyUnity", aKey, aValue);
added = pluginClass.CallStatic<bool>("setAttribute", aKey, aValue);
}
}
#endif
Expand Down

0 comments on commit a519667

Please sign in to comment.