Urban Airship typings and Ionic 2 integration - android

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

Related

Use Firebase in both Flutter web AND mobile app

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

Implement FCM Using eclipse in Android

I would like to integrate FCM push messaging service using eclipse. Somehow I'm not able to use Android studio. I found plenty of answers but all these are not solid answer. Mostly answered with "Use Android Studio" that's not appropriate answer for question.
see related:
Not getting notification using Firebase in Eclipse
Unable to find obfuscated Firebase class in Eclipse
How can I use Firebase cloud message in an eclipse project?
Currently I managed those two jar from firebase (iid & messaging) inside libs but no idea how to config "google-services.json" inside eclipse.
I raise this question cause there is not solid and complete answer for this. So please don't mark this duplicate humble request. I know this is big challenge for who stopped using eclipse since Android Studio arrived.

Appgyver Steroids and Android push notifications even possible?

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.

Urban Airship with Adobe PhoneGap Build

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

Mobile Backend Starter Java - on Android Studio

Has anyone managed to extend "Mobile Backend Starter Java" on Android Studio
https://github.com/GoogleCloudPlatform/solutions-mobile-backend-starter-java
Frustratingly any documentation that exists seems out of date or only for Eclipse".
I want to use Gradle and not Maven , Android Studio and not Eclipse
I followed the Tutorial
https://developers.google.com/cloud/samples/mbs/
but the extend page left me confused
https://developers.google.com/cloud/samples/mbs/extend_backend
I would like to know if anyone has tried this
I thought about going from the other direction creating an app and then Google Cloud Tools and App Engine Backend with Google Cloud Messaging but I do not see a deploy , I did see this, Deploy Google App Engine backend from Android Studio
but have not tried yet
There is a project on GitHub which you can use as module. It provides you with the basic client libraries. You can use it as starting point. See https://github.com/thagikura/mobile-backend-starter-android-client-with-AndroidStudio and follow the instructions there.

Categories

Resources