Do you mean that it should work by requiring normally with local iap = require( ‘plugin.iap_badger’ )? I still get the same error :
Runtime error: module 'plugin.iap\_badger' not found:resource (plugin.iap\_badger.lu) does not exist in archive
Is there something I need to change? I have no idea how the plugins work or are added in a Corona server build, is there caching that needs to be emptied?
If it helps, here’s what’s output in the Device Log for iOS9:
[Device] Runtime Error: Runtime error: module 'plugin.iap\_badger' not found:resource (plugin.iap\_badger.lu) does not exist in archive [Device] no field package.preload['plugin.iap\_badger'] [Device] no file '/var/containers/Bundle/Application/24AA2E90-7A92-44A1-A398-2122C48EA24C/Quipadvisor.app/plugin/iap\_badger.lua' [Device] no file '/var/containers/Bundle/Application/24AA2E90-7A92-44A1-A398-2122C48EA24C/Quipadvisor.app/plugin/iap\_badger.lua' [Device] no file './plugin/iap\_badger.so' [Device] no file '/var/containers/Bundle/Application/24AA2E90-7A92-44A1-A398-2122C48EA24C/Quipadvisor.app/plugin/iap\_badger.so' [Device] no file './plugin.so' [Device] no file '/var/containers/Bundle/Application/24AA2E90-7A92-44A1-A398-2122C48EA24C/Quipadvisor.app/plugin.so'plugin.iap\_badger [Device] [Device] stack traceback: [Device] [C]: in function 'require' [Device] ?: in function 'require' [Device] /Users/juliusbangert/Documents/Projects/Quipadvisor/Code/Quipadvisor/main.lua:95: in main chunk
And here is what’s output for Android :
XT1039: WARNING: Could not load 'plugin.iap\_badger.LuaLoader' XT1039: ERROR: Runtime error May 04 03:56:10.162 XT1039: /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:820: module 'plugin.iap\_badger' not found:resource (plugin.iap\_badger.lu) does not exist in archive XT1039: no field package.preload['plugin.iap\_badger'] XT1039: no file '(null)/plugin/iap\_badger.lua' XT1039: no file '(null)/plugin/iap\_badger.lua' XT1039: no file '/data/app/com.jubjubstudios.quipadvisor-1/lib/arm/libplugin/iap\_badger.so' XT1039: no file './plugin/iap\_badger.so' XT1039: no file '(null)/plugin/iap\_badger.so' XT1039: no file '/data/app/com.jubjubstudios.quipadvisor-1/lib/arm/libplugin.so' XT1039: no file './plugin.so' XT1039: no file '(null)/plugin.so' XT1039: no file '/data/app/com.jubjubstudios.quipadvisor-1/lib/arm/libplugin.iap\_badger.so' XT1039: no file './plugin.iap\_badger.so' XT1039: no file '(null)/plugin.iap\_badger.so' XT1039: stack traceback: XT1039: [C]: in function 'require' XT1039: /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:820: in function 'require' XT1039: ?: in main chunk XT1039: getRunningAppProcesses: caller 10100 does not hold REAL\_GET\_TASKS; limiting output