Re: [web2py] Re: Push Notifications

2020-11-20 Thread António Ramos
Yes you make an app in web2py that subscribes to one or many pusher notification channels. That channels are created by you in your html of your web2py app. your web2py server sends notifications to pusher.com using python code ,and your webpages subscribes the same notifications using

Re: [web2py] Re: Push Notifications

2020-11-20 Thread Christian Varas
Hi! I need to implement this and receive the notifications in the phone android/iOS. For this do I need to make my own app? Or do you use an app who can subscribe to push notifications in pusher.com ? This is off topic but any recommendation is appreciated Cheers. Chris El El vie, 20 de nov. de

Re: [web2py] Re: Push Notifications

2020-11-20 Thread mostwanted
Gratitude On Friday, November 20, 2020 at 10:33:10 AM UTC+2 Ramos wrote: > create a module inside web2py > API_Pusher.py > > import pusher > > def pusher_client(): > return pusher.Pusher( > app_id='yourid', > key='yourkey', >

Re: [web2py] Re: Push Notifications

2020-11-20 Thread António Ramos
create a module inside web2py API_Pusher.py import pusher def pusher_client(): return pusher.Pusher( app_id='yourid', key='yourkey', secret='yoursecret', cluster='eu',

Re: [web2py] Re: Push Notifications

2020-11-19 Thread mostwanted
Hey Ramos, I was able to successfully register the app on pusher.com. towards step 4 its says i should copy this code: *CODE:* curl -H "Content-Type: application/json" \ -H "Authorization: Bearer 9C9232906DFC6C8F8115926CC30D637945EB75F60467DA77977C399C4235E61C" \ -X POST

Re: [web2py] Re: Push Notifications

2020-11-16 Thread mostwanted
Thanks alot Ramos, think this will work, very little work needs to be done here, I'll try it out. On Tuesday, November 17, 2020 at 1:06:10 AM UTC+2 Ramos wrote: > Why reiventing the wheel ??? > https://pusher.com/ > > I use it with web2py and works like a charm > > > Em seg., 16 de nov. de

Re: [web2py] Re: Push Notifications

2020-11-16 Thread AGRogers
Thanks for the tip Antonio. The free version could work well for me. I dont mind reinventing the wheel - I just dont like fixing it when it breaks :) ___ *www.TenOutOfTen.org* rogers...@gmail.com (+95) 09 250018669 (Myanmar) On Tue, 17 Nov

Re: [web2py] Re: Push Notifications

2020-11-16 Thread António Ramos
Why reiventing the wheel ??? https://pusher.com/ I use it with web2py and works like a charm Em seg., 16 de nov. de 2020 às 08:44, mostwanted escreveu: > So far all I have been able achieve is asking the user for permission to > send them notifications & if they accept all that happens is