Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

OneSignal.os plugin does not exist in archive
Started by troylyndon Sep 15 2015 03:19 PM

15 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 607 posts
  • Corona SDK

I'm using build 2714 - I've done everything in accordance with the docs - the word "activated" shows up for me on the plug-in directory page for the OneSignal plugin.

 

PLEASE HELP.



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Are you getting an error?

 

Sometimes it can take a little while for the build servers to learn you have the plugin.

 

Rob



[TOPIC: post.html]
#3

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 607 posts
  • Corona SDK

still does not exist in archive



[TOPIC: post.html]
#4

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 607 posts
  • Corona SDK

After more than 6 hours, Corona will not compile the OneSignal plug-in while showing "Activated" on my plugin directory.



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Did this ever kick in for you?



[TOPIC: post.html]
#6

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 607 posts
  • Corona SDK

No. I tried it again yesterday. It simply doesn't get added in when I do a Build.



[TOPIC: post.html]
#7

FearTec

[GLOBAL: userInfoPane.html]
FearTec
  • Contributor

  • 218 posts
  • Corona SDK

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/



[TOPIC: post.html]
#8

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 607 posts
  • Corona SDK

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



[TOPIC: post.html]
#9

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

I've already emailed Engineering about this. It is of course Sunday, they won't see it until tomorrow.

 

Rob



[TOPIC: post.html]
#10

arvid.haggqvist7

[GLOBAL: userInfoPane.html]
arvid.haggqvist7
  • Observer

  • 5 posts
  • Corona SDK

Any news on this? I've been having the same issue. 



[TOPIC: post.html]
#11

seanh

[GLOBAL: userInfoPane.html]
seanh
  • Plumber

  • 263 posts
  • Corona Staff

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.



[TOPIC: post.html]
#12

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 607 posts
  • Corona SDK

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.

1) can you duplicate the error as described above?
2) has anyone considered that perhaps a simulator build for an Enterprise license wrongly omits plugins? Or is it something else?

Anyone, please help.

[TOPIC: post.html]
#13

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

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



[TOPIC: post.html]
#14

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

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



[TOPIC: post.html]
#15

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 607 posts
  • Corona SDK

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.



[TOPIC: post.html]
#16

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Glad you got it solved!

 

Rob




[topic_controls]
[/topic_controls]