cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nervaickarma
Regular Visitor

Push Notifications - PowerApps

I added push notifications on an application that is triggered by a button. When I run it on the web version of it, devices recieve the push notification. However, when I run the app on an iOS device and trigger the push notification, it never goes through. Is this a limitation to Push Notifications or a licensing issue? I'm unclear as to why it would work on the web but not the iOS devices. 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @nervaickarma,

 

I have made a test on my side and don't have the issue that you mentioned. The screenshot as below:2.JPG

 

Set OnVisible property of the screen to following formula:

ClearCollect(Contacts,{Name:"Kris Dai",Email:"Test3@xxxxxx.onmicrosoft.com"},{Name:"Teresa",Email:"Test1@xxxxxx.onmicrosoft.com"})

Set Items property of the Drop down control to following formula:

Contacts

Set OnChange property of Drop down control to following formula:

PowerAppsNotification.SendPushNotification({
recipients:[Dropdown1.Selected.Email],
message:"A new PowerApps app is assigned to you!",
openApp:true
})

More details about sending a push notification from PowerApps, please check the following article:

Send a push notification from a PowerApps app

 

More details about the limits when sending a push notification in PowerApps, please check the following article:

Known limitations when sending a push notification in PowerApps

 

Please check if you have provided proper parameters within the PowerAppsNotification.SendPushNotification function.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @nervaickarma,

 

I have made a test on my side and don't have the issue that you mentioned. The screenshot as below:2.JPG

 

Set OnVisible property of the screen to following formula:

ClearCollect(Contacts,{Name:"Kris Dai",Email:"Test3@xxxxxx.onmicrosoft.com"},{Name:"Teresa",Email:"Test1@xxxxxx.onmicrosoft.com"})

Set Items property of the Drop down control to following formula:

Contacts

Set OnChange property of Drop down control to following formula:

PowerAppsNotification.SendPushNotification({
recipients:[Dropdown1.Selected.Email],
message:"A new PowerApps app is assigned to you!",
openApp:true
})

More details about sending a push notification from PowerApps, please check the following article:

Send a push notification from a PowerApps app

 

More details about the limits when sending a push notification in PowerApps, please check the following article:

Known limitations when sending a push notification in PowerApps

 

Please check if you have provided proper parameters within the PowerAppsNotification.SendPushNotification function.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PatrickDammin
Regular Visitor

Hi all.

I think I am going crazy.... I read all the help docs and everything.
But in no case I can get the PushNotification to work.

- Are there known problems with using a Trial License?
- Is there a problem starting the Notification with OnSelect on a button?

I have a so very simple need to fullfill:
The User has many options in the App - one of it is "Request a Callback".
In this case the button is pushed I wanted to add the code:

PowerAppsNotification.SendPushNotification({
recipients:["94b1260a-xxxx-xxxxx-8bd1-98fedbbc9573"],
message:"Please call back User xxxxx",
openApp:true
})

The App ID was manipulated in this Example 😉

Anyone can helpo me out?
In the Receiving App I already added the connection as data source.


 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,745)