No. I tried it again yesterday. It simply doesn’t get added in when I do a Build.
Troy
I noticed it takes plugins 24 hours to activate some days
Check out my guide with using onesignal.
http://fearby.com/how-to-setup-a-new-sandbox-corona-ios-app-with-push-notifications-with-onesignal/
Hi Rob and Corona Team, (URGENT)
I have now downloaded the latest Build (2721) and I still receive the runtime error - module ‘plugin.OneSignal’ not found…
For now, I have commented out all code except the following line in my main.lua file:
local OneSignal = require(“plugin.OneSignal”)
This indicates to me that the Corona Build is broken, period. I’m not running any code. I’m simply trying to include the plugin.
My terminal prints out the following:
module ‘plugin.OneSignal’ not found:resource (plugin.OneSignal.lu) does not exist in archive
no field package.preload[‘plugin.OneSignal’]
no file ‘/var/mobile/Containers/Bundle/Application/7E7236BC-B7A5-4A17-93CF-7AEF8384A7A6/PlayBible.app/plugin/OneSignal.lua’
no file ‘/var/mobile/Containers/Bundle/Application/7E7236BC-B7A5-4A17-93CF-7AEF8384A7A6/PlayBible.app/plugin/OneSignal.lua’
no file ‘./plugin/OneSignal.so’
no file ‘/var/mobile/Containers/Bundle/Application/7E7236BC-B7A5-4A17-93CF-7AEF8384A7A6/PlayBible.app/plugin/OneSignal.so’
no file ‘./plugin.so’
no file '/var/mobile/Containers/Bundle/Application/7E7236BC-B7A5-4A17-93CF-7AEF8384A7A6/PlayBible.app/plugin.so’plugin.OneSignal
stack traceback:
[C]: in function ‘require’…
Please help.
Very kindly as always,
Troy
I’ve already emailed Engineering about this. It is of course Sunday, they won’t see it until tomorrow.
Rob
Any news on this? I’ve been having the same issue.
Are you trying to build with enterprise? I just looked through the build server logs for your user and don’t see any build attempts for the date range you’re talking about. Unless you were using another account.
Plugins work differently with enterprise ( https://docs.coronalabs.com/daily/native/plugin/index.html ). The activation thing only really applies to the simulator.
I’m building through the simulator. Can you please spend two minutes to create a main.lua file, add the one line require and see for yourself the problem?
I apologize for my frustration but I’m hopeful the Corona team can find this simple and obvious bug. Thus far I have waited nearly 10 days to have someone remind me that nothing tangible is being done about this.
- can you duplicate the error as described above?
- has anyone considered that perhaps a simulator build for an Enterprise license wrongly omits plugins? Or is it something else?
Anyone, please help.
Can you post your build.settings file please?
We can’t just pop the one line of code in. It requires additions to build.settings too. Post your build.settings, I’ll use it to try and build and see.
Rob
Instead of waiting, I went ahead and use the documentation from OneSignal. I added the plugin code to my build.settings, included your one line of code in my main.lua and it built with no errors, installed on my iPhone with no errors and ran with only a warning about not including the UIBackgroundModes = {“remote-notification”}, key.
We really need to see your build.settings.
Rob
Thank you, Rob. Apparently, the recent build 2715 solved the problem.
I apologize for not having updated build.settings, or I would have noticed that the new build fixed the problem.
Glad you got it solved!
Rob