API can't be initialized in Android version

0 votes



We are using App42API in Unity 5.4.0f3 (C#) to save user score and create / show leadebords. All works are good in Unity Editor, build for iOS (and on a device) and build for Windows. But Android version does not working. 


Initialize API logic: 

- User are tap on "Leaderbord" button

- We show special loading screen, where use this code from OnEnable():

		if (Application.internetReachability == NetworkReachability.NotReachable)
			errorLabel.text = Localization.Get("check_connection");
	public void APIStartInit()
		if (!isUserChangeName)
		isAPIInit = true;


- Code is stoped on this string: LeaderbordsManagerScript.Instance.APIStartInit();

- Only in Android version (courutine CheckScore() will not be started)


Who can tell why only in the Android version of API is not initialized?

closed with the note: Found the problem in System.Security.Cryptography.HMAC.Initialize ()
asked Feb 15, 2017 in Android by Abony Team (10 points)
closed Feb 15, 2017 by Abony Team
I hope your query has been resolved, let me know if you are facing any issue.
I have the same issue, but I'm not sure how you fixed it.
Will you please share the code of    StartCoroutine((CheckScore()));
So that we will identify the problem.
Don't use strip byte code in Android version.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com