# Push notification workaround

**URL:** <https://community.glideapps.com/t/push-notification-workaround/3358>\
**Category:** Ask for Help\
**Created:** [January 6, 2020, 10:24am UTC](https://community.glideapps.com/t/push-notification-workaround/3358 "2020-01-06T10:24:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![thebepps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thebepps/32/2956_2.png) [@thebepps](https://community.glideapps.com/u/thebepps)\
**Post date:** [January 6, 2020, 10:24am UTC](https://community.glideapps.com/t/push-notification-workaround/3358/1 "2020-01-06T10:24:05Z")

</div>

To whom it may concern, I used a workaround to make push notification work.  
First of all I’m speaking about web push notification, second due to a limitation Apple set to iOS’s Safari, this method works only on Android phones.  
What you need is a web site (one page is enough), preferably using https protocol; an account to [Webpushr](http://www.webpushr.com) or [Onesignal](http://www.onesignal.com) or a similar platform and a screen in your app with a button linking your website (needed to create an endpoint).  
When you sign up to Webpushr or similar, you get a piece of code you have to paste in the body of your website.  
Using the button in the app to open the link, the website opens and you get a popup asking authorization to send you notification, if you click yes, an endpoint to the device is created so, you can receive web push notification sent from the platform interface.  
It takes longer to explain than set it up.  
Enjoy.

---

<div class="post-metadata">

**Author:** ![XL-STEAMS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/xl-steams/32/8784_2.png) [@XL-STEAMS](https://community.glideapps.com/u/XL-STEAMS)\
**Post date:** [July 20, 2020, 8:23pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/2 "2020-07-20T20:23:00Z")

</div>

So, does these push notifications show up IN your glide app?

---

<div class="post-metadata">

**Author:** ![thebepps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thebepps/32/2956_2.png) [@thebepps](https://community.glideapps.com/u/thebepps)\
**Post date:** [July 20, 2020, 8:52pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/3 "2020-07-20T20:52:44Z")

</div>

Push notifications show up as browser notification.

---

<div class="post-metadata">

**Author:** ![Glider](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/glider/32/9699_2.png) [@Glider](https://community.glideapps.com/u/Glider)\
**Post date:** [July 20, 2020, 9:12pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/4 "2020-07-20T21:12:56Z")

</div>

how did you add it to the body

---

<div class="post-metadata">

**Author:** ![XL-STEAMS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/xl-steams/32/8784_2.png) [@XL-STEAMS](https://community.glideapps.com/u/XL-STEAMS)\
**Post date:** [July 20, 2020, 9:47pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/5 "2020-07-20T21:47:22Z")

</div>

Hmm. With Glide being a web app, I would think that creating a separate home web page wouldn’t be needed… I am definitely interested in the process…

---

<div class="post-metadata">

**Author:** ![Valentine\_Madzhie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valentine_madzhie/32/11453_2.png) [@Valentine\_Madzhie](https://community.glideapps.com/u/Valentine_Madzhie)\
**Post date:** [November 9, 2020, 9:28am UTC](https://community.glideapps.com/t/push-notification-workaround/3358/6 "2020-11-09T09:28:55Z")

</div>

How did you the body code?

---

<div class="post-metadata">

**Author:** ![Daniel\_Adekunle](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_adekunle/32/17989_2.png) [@Daniel\_Adekunle](https://community.glideapps.com/u/Daniel_Adekunle)\
**Post date:** [January 3, 2021, 9:17pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/7 "2021-01-03T21:17:09Z")

</div>

Hi,

Thanks for this info. Kindly assist on how to add the code in the body of the app or the sheet and also the downloaded .zip files. How are you able to achieve.

---

<div class="post-metadata">

**Author:** ![thebepps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thebepps/32/2956_2.png) [@thebepps](https://community.glideapps.com/u/thebepps)\
**Post date:** [January 3, 2021, 9:33pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/8 "2021-01-03T21:33:16Z")

</div>

Hi, you just need to paste the code provided by webpushr or onesignal, after the registration, in the webpage you use as endpoint then add a screen in the app with a button pointing to the link of the web page, no need to add code to the app. It’s a neat process.

---

<div class="post-metadata">

**Author:** ![thebepps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thebepps/32/2956_2.png) [@thebepps](https://community.glideapps.com/u/thebepps)\
**Post date:** [January 3, 2021, 9:34pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/9 "2021-01-03T21:34:31Z")

</div>

Please, read the answer to @Valentine_Madzhie.

---

<div class="post-metadata">

**Author:** ![Valentine\_Madzhie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valentine_madzhie/32/11453_2.png) [@Valentine\_Madzhie](https://community.glideapps.com/u/Valentine_Madzhie)\
**Post date:** [January 4, 2021, 6:08am UTC](https://community.glideapps.com/t/push-notification-workaround/3358/10 "2021-01-04T06:08:27Z")

</div>

I am so lost do you maybe have a video tutorial for us please

---

<div class="post-metadata">

**Author:** ![Jacktools\_Net](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jacktools_net/32/18500_2.png) [@Jacktools\_Net](https://community.glideapps.com/u/Jacktools_Net)\
**Post date:** [January 4, 2021, 12:26pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/11 "2021-01-04T12:26:03Z")

</div>

Webpushr looks very intresting. Thanks for the hint.

---

<div class="post-metadata">

**Author:** ![thebepps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thebepps/32/2956_2.png) [@thebepps](https://community.glideapps.com/u/thebepps)\
**Post date:** [January 4, 2021, 1:24pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/12 "2021-01-04T13:24:30Z")

</div>

Sorry, I have no video tut at the moment.

---

<div class="post-metadata">

**Author:** ![Jacktools\_Net](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jacktools_net/32/18500_2.png) [@Jacktools\_Net](https://community.glideapps.com/u/Jacktools_Net)\
**Post date:** [January 4, 2021, 4:02pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/13 "2021-01-04T16:02:02Z")

</div>

So I tried it out. The installation is quite simple and well documented from webpushr.

You need a place where you can host two files.  
You get the js file and the content for the html file from webpushr  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/a/5a133aedd6b06e7b600290cfef08407895146602.png)

The only problem I see at the moment (in my case) is that I don’t get the userid that webpushr creates back into my google sheet. I would send a notification to users that follows a sale point when it changes the status to open.

But if you want to send notifications to all users this is realy nice.

---

<div class="post-metadata">

**Author:** ![Valentine\_Madzhie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valentine_madzhie/32/11453_2.png) [@Valentine\_Madzhie](https://community.glideapps.com/u/Valentine_Madzhie)\
**Post date:** [January 5, 2021, 10:03pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/14 "2021-01-05T22:03:23Z")

</div>

Could you kindly teach me how to do it

---

<div class="post-metadata">

**Author:** ![Jacktools\_Net](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jacktools_net/32/18500_2.png) [@Jacktools\_Net](https://community.glideapps.com/u/Jacktools_Net)\
**Post date:** [January 5, 2021, 10:14pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/15 "2021-01-05T22:14:51Z")

</div>

You just need a place where you can host this to files with your own domain. Then create a web pusher account and follow the instructions. In my case I created a sub domain.

---

<div class="post-metadata">

**Author:** ![Valentine\_Madzhie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valentine_madzhie/32/11453_2.png) [@Valentine\_Madzhie](https://community.glideapps.com/u/Valentine_Madzhie)\
**Post date:** [January 5, 2021, 10:19pm UTC](https://community.glideapps.com/t/push-notification-workaround/3358/16 "2021-01-05T22:19:37Z")

</div>

So lost in the case where I am hosting the app on a sub domain how would I go about it sorry for being annoying

---

<div class="post-metadata">

**Author:** ![Valentine\_Madzhie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valentine_madzhie/32/11453_2.png) [@Valentine\_Madzhie](https://community.glideapps.com/u/Valentine_Madzhie)\
**Post date:** [January 6, 2021, 8:19am UTC](https://community.glideapps.com/t/push-notification-workaround/3358/17 "2021-01-06T08:19:08Z")

</div>

I thhink I managed to set up but I am getting a 404 error when I try test is

---

<div class="post-metadata">

**Author:** ![Jacktools\_Net](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jacktools_net/32/18500_2.png) [@Jacktools\_Net](https://community.glideapps.com/u/Jacktools_Net)\
**Post date:** [January 6, 2021, 8:26am UTC](https://community.glideapps.com/t/push-notification-workaround/3358/18 "2021-01-06T08:26:33Z")

</div>

What do you mean with hosting the app? Hosting the glide app under a sub domain?

That is not what you have to do. You have to host the index.html and webpushr-sw.js under a domain or sub domain.

---

<div class="post-metadata">

**Author:** ![Valentine\_Madzhie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valentine_madzhie/32/11453_2.png) [@Valentine\_Madzhie](https://community.glideapps.com/u/Valentine_Madzhie)\
**Post date:** [January 6, 2021, 8:29am UTC](https://community.glideapps.com/t/push-notification-workaround/3358/19 "2021-01-06T08:29:27Z")

</div>

Hi

Yes my app is app.operationmanifestation.co.za (customized under a sub domain from the glide tutorial to get my link customized.)

---

<div class="post-metadata">

**Author:** ![Jacktools\_Net](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jacktools_net/32/18500_2.png) [@Jacktools\_Net](https://community.glideapps.com/u/Jacktools_Net)\
**Post date:** [January 6, 2021, 8:44am UTC](https://community.glideapps.com/t/push-notification-workaround/3358/20 "2021-01-06T08:44:38Z")

</div>

In your case i would create push.operationmanifestation.co.za as a second subdomain.  
Than create a web pushr account and go through the setup process with your push.operationmanifestation.co.za subdomain.

[Next page](https://community.glideapps.com/t/push-notification-workaround/3358.md?page=2)
