Ionic Push works with ionic serve but not Ionic View

I followed Push from Scratch and can successfully send a one-time push from my dashboard and receive it in my desktop browser via ionic serve, but when I switch the device token to my iOS device running Ionic View, I don’t receive the one-time push. Why?


I read through the entirety of Quick Start and found this note: “Development pushes aren’t native push notifications, and are meant for testing against our API. They’ll work in a browser or emulator…” This seems to indicate that dev push notifications on Ionic View don’t work. It would be helpful if this note was also included in the Push from Scratch documentation.

In the meantime, I have a separate issue of figuring out why my app fails on ‘ionic emulate ios’.

I also tried the iOS Setup, thinking that maybe I needed a dev certificate, after after completing those instructions, I saw the red box at the bottom that generating a development push certificate is completely unrelated to Ionic Push development mode.

Long version:

I followed along with all the steps on Push from Scratch, and ionic serve works fine, as does ionic upload to Ionic View. However, ionic emulate ios fails with this error code:


The following build commands failed:
	Ld build/emulator/ normal i386
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/stewart/Code/pushit/platforms/ios/cordova/build-debug.xcconfig,-project,pushit.xcodeproj,ARCHS=i386,-target,pushit,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/stewart/Code/pushit/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/stewart/Code/pushit/platforms/ios/build/sharedpch
Error: /Users/stewart/Code/pushit/platforms/ios/cordova/run: Command failed with exit code 2

I haven’t been able to resolve this error yet and I don’t know if it’s effecting failure of Ionic Push on Ionic View.

Anyway, once I run ionic serve, I then go to my Ionic Dashboard for my app and then go to Push / Testing > One-time Notification.

There I select:

  • ‘Development’ for the iOS Certificate
  • ‘Device Tokens’ for Delivery Mode.
  • I put in a Notification Title
  • I copied the device token that logs in my desktop browser console
  • I put in a Notification Message

When I send, the notification response looks something like this:


And then when I click back to the tab with my Ionic app, an alert pops up with the Notification Message, as expected.

However, when do ionic upload and the open up my app on my iOS device, and then in my browser go back to One-time Notification and change the Device Token to be the token corresponding to my iOS device, and then click send, the push notification never shows up on my device.

Any thoughts on why it’s not working?


My recommendation: don’t bother with Ionic View, it is slow and cumbersome and unreliable. See my opinion here:

Note that this is based on a version of about half a year ago, the newer versions may perform better.

Hey @leob, thanks for the reply :slight_smile:

Honestly, I haven’t had any issues with Ionic View itself. I’ve found the app to work as expected and haven’t noticed and issues with performance—at least while testing some pretty lightweight apps. Mine in particularly uses Firebase as a data store, so I don’t have node or anything else running on the backend. Not sure if that would affect performance or not.

Anyway, I’m pretty sure that installing an APK isn’t going to solve my issue. I think this issue is related to the code and I just need some guidance debugging.

Thanks again!

Maybe the issues were with old versions of Ionic View, I haven’t used Ionic View for a long time now because just building and installing an APK is the easiest solution for me.


if you read the ionic view docs in

you will see that push notifications
is not supported

1 Like


So what the conclusion is?
Push Notifications are supported for apps on IonicView or not? Please comment.