# Add Push Notifications Capabilities on iOS

**URL:** <https://forums.fusetools.com/t/add-push-notifications-capabilities-on-ios/6234>\
**Category:** How-to Discussions\
**Created:** [May 10, 2017, 4:02pm UTC](https://forums.fusetools.com/t/add-push-notifications-capabilities-on-ios/6234 "2017-05-10T16:02:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bjorn\_Egil\_Hansen](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@Bjorn\_Egil\_Hansen](https://forums.fusetools.com/u/Bjorn_Egil_Hansen)\
**Post date:** [May 10, 2017, 4:02pm UTC](https://forums.fusetools.com/t/add-push-notifications-capabilities-on-ios/6234/1 "2017-05-10T16:02:06Z")

</div>

I’m trying to use the `FuseJS/Push`-module to handle push notifications in the app. When adding `Fuse.PushNotifications`-package to the project, the app will request authorization for push notifications at startup on iOS. However this fails with this in the console log:

`Reg Failed: no valid 'aps-environment' entitlement string found for application`

When turning on Push Notifications Capability in XCode, the issue is resolved:

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/EHYTSntTgSkg-image-1494432029840.00.08.png)

It seems to add a project.entitlements file:

```auto
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>aps-environment</key>
	<string>development</string>
</dict>
</plist>

```

However, I would like to control this from the Fuse-project and not have to do manual steps in the build process.

---

<div class="post-metadata">

**Author:** ![Olle\_Fredriksson](https://avatars.discourse-cdn.com/v4/letter/o/e95f7d/32.png) [@Olle\_Fredriksson](https://forums.fusetools.com/u/Olle_Fredriksson)\
**Post date:** [May 11, 2017, 6:11am UTC](https://forums.fusetools.com/t/add-push-notifications-capabilities-on-ios/6234/2 "2017-05-11T06:11:14Z")

</div>

Hey Bjørn Egil,

Good idea. This is something that we should add support for. We already have an internal issue on this, so I’ve added this post to it so we can keep you posted on any progress.

Thanks for the suggestion!

---

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [May 30, 2018, 10:58am UTC](https://forums.fusetools.com/t/add-push-notifications-capabilities-on-ios/6234/3 "2018-05-30T10:58:30Z")

</div>

For anyone else looking to set them: [https://fuse-open.github.io/docs/native-interop/ios-capabilities.html](https://fuse-open.github.io/docs/native-interop/ios-capabilities.html)
