PhoneGap Meteor iOS Push Notifications - ios

I have currently used phonegap and deployed an iOS app that takes the URL of my meteor app and convert it into a "webapp" (not sure if this is accurate). However, I would like to implement remote/push notifications to Apple's servers APNS to enable the app to receive notifications, update badges etc... Are there any other means other than Urban airship?
Also, I chanced upon ObjectiveDDP, https://github.com/boundsj/ObjectiveDDP#requirements, but the tutorial is not working for me and it is really frustrating.
Thank you!

You can use the Phonegap team Push Plugin (on github) that allows sending push notifications for Android and iOS.
The plugin can be integrated via the phonegap build site without having to use Java or Objective-C or using Java or Objective-C.

Here is an updated answer that works as of 12/25/14:
Simply use the push package by raix: https://atmospherejs.com/raix/push The documentation is really good.

I think you need this one,
https://github.com/SpaceCapsule/Meteor-phonegap-push
I am implementing the same,
If I am able to do so I will put the demo too
Thanks.

I just released a new package that makes it easy to integrate Meteor with Cordova (Phonegap). You can use the Cordova API, including push notifications, just like it describes in the docs.
Check out Cordova Loader package.
Use PushPlugin
cordova plugin add https://github.com/phonegap-build/PushPlugin.git

Related

Add React-native app to 'Activities' panel on IOS

I am looking for informations about to add an App in the 'Activities' IOS panel in order to can add my app to the list of sharing apps.
I don't know if it's automatic or if it need some configuration.
Thanks
This is possible using AppExtensions in iOS SDK.
In React native, the docs talk about App extensions here. And an example app for sharing is available in a github repo.

React Native iOS Push Notification with Image

I currently have an app which was made with React Native. I need to display a local push notification, and there needs to be an image displayed within this notification. Currently, I am using the react-native-push-notification library for basic text notifications.
I have been looking for solutions but I have not found any way yet that I can add images into a notification. Is there some way to hook into native code that would allow me to do it?
Any help is greatly appreciated.
I am using react-native-firebase and it works great for me. It has an option for local notifications.
You can learn more about iOS notification with an image here: https://rnfirebase.io/docs/v4.2.x/notifications/reference/IOSNotification It gives an option to set a launchImage for iOS notifications. You should go through the documentation properly in order to install it properly.
I have used react-native-fcm, which is implemented using react-native-firebase. The support for issues are good enough and the document is well drafted for both ios and android. The pictures, icons and actions are configurable for both local and remote notifications.

How can I call with native Swift methods from Electron app using javascript?

I am looking to add in-app subscriptions to the mac desktop app so I can submit to app store.
I have the code written for iOS using the cordova plugin: https://github.com/AlexDisler/cordova-plugin-inapppurchase
But for electron there exists no such plugin.
So I can use the native swift code from the plugin, but need a way to write a custom plugin so I can call swift methods from javascript running the Electron app.
Please let me know how to approach this, or point me to the correct resources.
Thanks You

How to enable push notifications titanium appcelerator 5.5.1.GA

I'M trying to enable push notifications appcelerator ios app. I found something about entitlements.plist or appName.entitlements. Which is true ? What must i do for enable push notifications?
You must first look at documentation before asking questions like these. Push is pretty default and well described here:
http://docs.appcelerator.com/platform/latest/#!/guide/Subscribing_to_push_notifications
There are also many modules out there for Android, for iOS you don't need modules. You also don't need the server side solution of Appcelerator but you can use pretty much everything you'd like, or write it custom.
Some modules:
https://github.com/caffeinalab/ti.goosh
http://docs.appcelerator.com/platform/latest/#!/api/Modules.CloudPush
http://docs.pushwoosh.com/docs/appcelerator-titanium
More are findable through google ;)

Phonegap ios pushnotification

I am new to iOS programming don't know anything about objective-c . I have done Push Notification on Android and it is working properly.I am using Cordova to implement in cross-platform device so, anybody can help me out how can I implement it in iOS ?
Thanks in advance.
If you are working on cordova then you can implement push notification using plugins available in cordova. You can use PushPlugin in you app, it will work for both Android as well as iOS. For more information about pushPlugin please Click Here.
You have to follow some steps for iOS to implement push notification. For more description please visit link mentioned here.
While generating .pem certificate for iOS please execute command written below instead of command written at point 10.
cat apns-dev-cert.pem apns-dev-key-noenc.pem > apns-dev.pem
You can also refer link mentioned here http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1

Resources