I have successfully used UnityAds in a test application and also this particular game. However, once I created a release version of the game, the UnityAds seem too fail. Switching back to a debug release for some reason also did not work. Any idea what could be causing the errors below?
I was e-mailed by someone from Unity that there was an issue with my proguard rules as below.
I’ve tested both builds and looks like you have an issue with the Proguard.
You can see in the documentation, that Proguard only works with Release builds (i.e cocos run -m release) debug builds do not invoke Proguard rules, that’s why your debug build is working properly.
I was advised to put the following lines in the Proguard.
The line with -keep class com.unity3d.services.** seems to give me problems and I am getting the following error: