FFREDIANELLI Posted April 24, 2019 Share Posted April 24, 2019 Hi, I would like to put push notification code on my webpage, the onesignal instructions sas to put on head section of top page a specific code, how do I configure this on unigui ? custom meta ? and the files that i have to put in my webpages in custom files, i think. Someone that is alwready using this can help me ? This is the code: <link rel="manifest" href="/manifest.json" /> <script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script> <script> var OneSignal = window.OneSignal || []; OneSignal.push(function() { OneSignal.init({ appId: "bla bla bla...", }); }); </script> Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted April 25, 2019 Share Posted April 25, 2019 Hello, Is there any specific reason for using Onesignal? I saw it is expensive? Why you are not using firebase? Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted April 25, 2019 Share Posted April 25, 2019 How to use Firebase? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted April 25, 2019 Share Posted April 25, 2019 Let me create an example. 1 Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted April 25, 2019 Author Share Posted April 25, 2019 It's free for 2000 messages day. I whant to android/iphone/chrome pops up when some event in ERP is relevant to the user, I don't know but unigui will pops something only if the application is oppened. Is it possible to do it with firebase ? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted April 25, 2019 Share Posted April 25, 2019 Onesignal and Google Firebase working same actually. It's depends on you. Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted April 25, 2019 Author Share Posted April 25, 2019 OK, now i whant that example too... 1 1 Quote Link to comment Share on other sites More sharing options...
rtalmeida Posted April 26, 2019 Share Posted April 26, 2019 I would also like to see an example 1 Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted May 13, 2019 Author Share Posted May 13, 2019 Some evolution in the example Hayri ? Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted May 18, 2019 Author Share Posted May 18, 2019 If is not possible do put an example someone at least know how to answer my first question ? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted May 18, 2019 Share Posted May 18, 2019 Hello, I'm working on onesignal. I will share example soon. It is not that much easy to implement Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted May 18, 2019 Author Share Posted May 18, 2019 No problem Hayri, many thanks for the help. Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted May 19, 2019 Share Posted May 19, 2019 Hi Please check this example and modify based on your appid. UniOneSignal.rar 2 1 Quote Link to comment Share on other sites More sharing options...
GerhardV Posted May 19, 2019 Share Posted May 19, 2019 Thank you Hayri. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 20, 2019 Share Posted May 20, 2019 On 19/05/2019 at 00:50, Hayri ASLAN said: Oi Por favor, verifique este exemplo e modifique com base no seu appid. UniOneSignal.rar I would like to deploy this on my system, I tried to create an account for me la no app.onesignal.com but when I send the messages they do not arrive in my application !! Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted May 20, 2019 Share Posted May 20, 2019 1 hour ago, eduardosuruagy said: I would like to deploy this on my system, I tried to create an account for me la no app.onesignal.com but when I send the messages they do not arrive in my application !! Please check console. Do you have any error? Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 20, 2019 Share Posted May 20, 2019 3 minutes ago, Hayri ASLAN said: Por favor, verifique o console. Você tem algum erro? I have no error, I'm testing on my local machine with http: // localhost: 8077 Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted May 20, 2019 Share Posted May 20, 2019 1 minute ago, eduardosuruagy said: I have no error, I'm testing on my local machine with http: // localhost: 8077 What is your site setup looks like? Mine is: I just tested again and it is working Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 20, 2019 Share Posted May 20, 2019 17 minutes ago, Hayri ASLAN said: Como é a configuração do seu site? O meu é: acabei de testar novamente e está funcionando I received your notification here on my computer, kkkkk Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 20, 2019 Share Posted May 20, 2019 Notifications must have English language content 1 Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted May 20, 2019 Author Share Posted May 20, 2019 Hi hayri, Is there some difference in configurantion of unigui if I use HTTPS ? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted May 20, 2019 Share Posted May 20, 2019 42 minutes ago, FFREDIANELLI said: Hi hayri, Is there some difference in configurantion of unigui if I use HTTPS ? Nope, I just wanted to test localhost so i used http. You should use https in production to be able to enable autoresubscribe Quote Link to comment Share on other sites More sharing options...
devya Posted August 30, 2020 Share Posted August 30, 2020 On 4/25/2019 at 10:39 PM, Hayri ASLAN said: Let me create an example. Hi @Hayri ASLAN, can give us sample project use Google Firebase ? 1 Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted September 1, 2020 Share Posted September 1, 2020 On 8/30/2020 at 1:12 PM, devya said: Hi @Hayri ASLAN, can give us sample project use Google Firebase ? Hi, I implemented OneSignal. Please check the above post. Quote Link to comment Share on other sites More sharing options...
TI.ME Posted September 1, 2020 Share Posted September 1, 2020 Good Morning... Why not use push directly on unigui without going through Onesignal or FireBase? 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.