Hi Nepeo, finally got to testing this app. When I test it from XCode it simply crashes now. Which is a step forward I suppose! The error log shows a problem.
I wonder if this is because I'm running from XCode and not from the 'official app' from Itunes. I'll publish it and see what happens.
Here's the log that is crashing though:
018-01-24 23:22:10.402366-0500 Star Lords Empires of a New Dawn[2171:1077879] [C2 CORDOVAIAP] Registering product "iap_mythril_5000"
2018-01-24 23:22:10.403226-0500 Star Lords Empires of a New Dawn[2171:1077879] [C2 CORDOVAIAP] Registering product "iap_mythril_15000"
2018-01-24 23:22:10.403393-0500 Star Lords Empires of a New Dawn[2171:1077879] [C2 CORDOVAIAP] Registering product "iap_mythril_50000"
2018-01-24 23:22:11.075326-0500 Star Lords Empires of a New Dawn[2171:1077879] THREAD WARNING: ['InAppPurchase'] took '12.457275' ms. Plugin should use a background thread.
2018-01-24 23:22:12.537187-0500 Star Lords Empires of a New Dawn[2171:1077879] [C2 CORDOVAIAP] store ready
2018-01-24 23:22:25.302889-0500 Star Lords Empires of a New Dawn[2171:1077879] [C2 CORDOVAIAP] Purchasing product "iap_mythril_15000"
2018-01-24 23:22:25.308049-0500 Star Lords Empires of a New Dawn[2171:1077879] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid product identifier: (null)'
*** First throw call stack:
(0x18641a364 0x185660528 0x18641a2ac 0x199886a98 0x100ac571c 0x100afcc24 0x100ad349c 0x100ad48c8 0x1957a7130 0x19573ba30 0x19573dc10 0x195528148 0x195705800 0x1954e874c 0x1954eb140 0x18d708d38 0x18d708ff8 0x1863c297c 0x1863c28fc 0x1863c2184 0x1863bfd5c 0x1862dfe58 0x18818cf84 0x18f95f67c 0x100ac3c34 0x185dfc56c)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)