Yay! [import]uid: 70847 topic_id: 33658 reply_id: 135576[/import]
well its definately NOT related to corona, because i just compiled another game and all works fine.
the only difference: that game is published. can someone please answer me:
- does the uploaded binary need to have the same version number as the one i am testing with? does it need to be the same binary anyway?
- it should be no problem to test it, even with unpublished (iAP item published though)
- sometimes i get a failed event, with the android.test.purchased event. how comes?
thanks [import]uid: 90610 topic_id: 33658 reply_id: 135561[/import]
Hi!
The version *code* of the APK you upload must be the same as the version *code* you have installed on your test device, however the uploaded APK on Google Play doesn’t have to be published. For IAP, the products must be published though.
It doesn’t need to be the same binary file either. The only important thing is that the version codes of the uploaded APK and the binary on the test-device are the same.
(Version *name* doesn’t officially matter, however I have a practice where I always make sure that both version code/name are the same on the uploaded APK and the binary on the test-device)
Note that (as usual) it can take serval hours for a newly uploaded APK to propagate though the system and be recognized for testing.
What I usually do before a testing-phase on Google Play is to upload a dummy APK a day before testing, only making sure that the package id (com.mycompany.appname), version code and version name are set to what I’ll use in my official release. Binary content irrelevant (basically a “hello world” app will do).
I’ll then do my testing and only compile for my devices using the same version code and version name until I’m satisfied with the app.
Once testing is done I just delete the previously uploaded APK from Google Play and upload my final APK that I publish. [import]uid: 70847 topic_id: 33658 reply_id: 135562[/import]
thanks a lot ingemar! i thought it didnt matter what version u have uploaded.
now i can run the android.test.purchased without problems!!! [import]uid: 90610 topic_id: 33658 reply_id: 135575[/import]
Yay! [import]uid: 70847 topic_id: 33658 reply_id: 135576[/import]