Can I use Urban Airship with Adobe PhoneGap Build. I've read many questions but all seems really out date. Is Urban Airship Push Notification Service supported by PhoneGap Build nowadays. I also saw that in plugins tab there are some push notifications plugins and also there is a place that said Submit Plugin. Can I submit UA Phonegap 3.0 Plugin hosted at Github in that case? I've read Urban Airship documentation but it only talks about using their plugin which is not listed in adobe build.
Thanks you all very much for your help!
Urban Airship does not provide support for Phonegap Build, though there is a plugin that you can install manually: https://github.com/urbanairship/phonegap-ua-push
Related
I'm working on a Flutter app, compiled in both web AND mobile version. Everything worked like a charm until I decided to use Firebase.
I found that there are many libs that allow to use Firebase in Flutter, for mobile apps. I also found a lib that allows to use Firebase in Flutter web app.
The problem is: Firebase plugin for web version is using "dart:html", which isn't supported for mobile versions of Flutter apps. On the other side, mobile libs aren't supported by web versions and I always get a PlatformException when using them in web app.
So here is my question: Does anyone know a Flutter's Firebase lib, that works on BOTH mobile AND web versions, so that I only have to compile in the platform I want, without having to change the code before?
EDIT:
I know there is a way to write specific code for Android or iOS version, but I can't find any clue for writing specific code for the web version. This should be another way to solve the problem...
Any idea?
At the moment there is no single Flutter+Firebase library that works for both web and mobile apps, so you will need to use two (incompatible) libraries.
Work is being done to rectify that situation, but there's no timeline for its release.
Also see:
this Github issue on compatibility
How to use cloud_firestore in flutter for web and android?
What firebase plugins are you using?? As there are only limited firebase plugins avalaible to use on web which includes firebase_analytics firebase_auth cloud_firestore cloud_functions firebase_messaging firebase_storage firebase_core
if you are using any firebase plugin other than these then they are not supported for web
I am trying to integrate the Urban Airship push plugin into an Ionic2 application. So far all I managed is the installation of the plugin and I did manage to find typings for the api (link to definitions). However, the typings are not being recognized by the parser and I can find no support whatsoever on the matter. I keep getting a 'module not recognised' error. I can manage the initialisation of the plugin, but I'm currently stuck on the definitions part. Any support is more than appreciated.
Regards,
Alan
I need inputs on which plugin to use to make the ios push notification working with GCM. I am using phonegap, sencha touch 2.
I have configured GCM, provided the p12 , pem for development. My ios certificate is correct as I am able to send notification to ios through certificate generated using APNS with same p12(pem) file. Phonegap push notification library which I am using is not supporting the ios GCM notification(it supports native ios and gcm android).
I am using :
I found that there is another plugin which does offer new ios GCM integration. Here is the one I found:
https://github.com/gonzaloaune/GCMPushPlugin#readme
When I try to include the plugin in config.xml then build fails.
build fails with message as
The following build commands failed:
CompileC build/God.build/Release-iphoneos/God.build/Objects-normal/armv7/GCMPushPlugin.o God/Plugins/cordova-plugin-gcmpushplugin/GCMPushPlugin.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
I am not sure if it is failing as if plugin does not exist ? Anyway my question is which phonegap push notification plugin to use which support ios and android both through GCM.
Please share some pointers on this.
thanks,
amit
I did solved the issue and just providing a answer here for those who are facing similar issue. Problem was the phonegap push plugin which I was using was supporting only GCM and not iOS APN notifications. I did google and I found the correct plugin to use.
https://build.phonegap.com/plugins/1199
With this all Google (GCM) and ios (APN) notifications are working without any issue
https://build.phonegap.com/plugins/1199 is outdated and Adobe Phonegap build does not support it (last support till November 2016). So now using a different phonegap push notification(phonegap-plugin-push) plugin which is supported.
https://github.com/phonegap/phonegap-plugin-push
This is working with sencha touch and phonegap build. Notifications are working with GCM, APNS on ios and android
How do I integrate the new Google Cloud Messaging for android in Cordova?
Since cordova project didn't specify project levet build.gradle and modular level build.gradle.
Use the Cordova PushPlugin: https://github.com/phonegap-build/PushPlugin. Follow the steps described in the Automatic Installation paragraph, and then the Plugin API paragraph. You can also have a look at their example at https://github.com/phonegap-build/PushPlugin/blob/master/Example/www/index.html
If you're using AngularJS in your Cordova application, you can also use the ngCordova wrapper for the PushPlugin. Install ngCordova by following the steps from here: http://ngcordova.com/docs/install/ and then have a look at their examples at http://ngcordova.com/docs/plugins/pushNotifications/
You can ignore their note referring to Ionic Push which is another "push notification" service that is currently in an Alpha state. It's an alternative to Google Cloud Messaging.
Been trying to get Steroids working with push notifications on Android and keep hitting a brick wall.
As far as I can see, there's no official support for https://github.com/AppGyver/PushPlugin, and the Urban Airship addon is currently iOS only.
When I set the custom plugin in the build configuration, I get some pretty nasty build errors. This is with just a freshly created and deployed steroids project, and just generally can't even get to the point where I have a build to play around with push notifications :(
There was some rumbling about the devs prioritising pushplugin around Dec 2013, but unsure if that ever actually materialised?
So I have:
steroids create pushTest
steroids deploy
...then I goto https://cloud.appgyver.com/applications/, configure my app in the android tab by adding this to the custom plugins...
[
{"source":"https://github.com/AppGyver/PushPlugin.git"}
]
Then run a build on 4.0.2. I am trying a scanner build, tried ARM, x86, and both, and keep coming back with build issues as above, or on some of the other forks ones that are a bit more vague, but I suspect those forks to be old.
So my question: Is it even possible to get push notifications working with Steroids under Android?
There's now an officially supported fork of the Push Plugin which works with the AppGyver Android Client: https://github.com/AppGyver/PushNotifications
The minimum required version for the Android client is 4.0.4-edge3.
Please see the Push Notification guide for instructions how to create the required iOS Certificates and the Google GCM API key.