These are chat archives for angular/angular-2-ionic-2

4th
Apr 2017
Prajwal GP
@prajwalgp
Apr 04 2017 06:08
Hey guys, have used the firebase native plugin for push notifications??
Z3roCoder
@Z3roCoder
Apr 04 2017 07:21
Hey there! I would have some questions concerning Push-Notifications - Is it possible, like on apps like Skype, Twitter and Telegram to build Push-Notifications on which you can directly reply to messages without even opening the app? As in, custom Push Notifications where you can do more than just view text and click on it?
I can not find any documentation on it
phr0zenx
@phr0zenx
Apr 04 2017 08:09
Anyone here played with Angular 2's animation module? Is defining states the only way to achieve animation? Or can i use angular 2 to inject/remove css class tags to trigger them?
Prajwal GP
@prajwalgp
Apr 04 2017 08:45
@Z3roCoder i have used the ionic native firebase plugin for enabling push notifications ,but it's working on android emulator but not on real devices and genymotion emulator
Z3roCoder
@Z3roCoder
Apr 04 2017 08:55
Push-Notifications are a important part of Apps, so shouldn't there be any working, reliable solution?
Prajwal GP
@prajwalgp
Apr 04 2017 08:58
@Z3roCoder are you using firebase ??
phr0zenx
@phr0zenx
Apr 04 2017 09:05
I'm using GCM push Notification plugins with no problems.
Works for both our apps on Android and iOS
Sending Notifications to iOS via GCM
Not too fazed to bother with using FCM
Prajwal GP
@prajwalgp
Apr 04 2017 09:16
@phr0zenx i will try that with GCM push notification,thanks for ur suggestion
Z3roCoder
@Z3roCoder
Apr 04 2017 09:26
But, are you able to modify notifications, adding buttons, or other custom elements like adding a direct text reply, etc?
phr0zenx
@phr0zenx
Apr 04 2017 09:27
Yes, by editing the plugin itself.
Say, big picture displays for ios, etc
Z3roCoder
@Z3roCoder
Apr 04 2017 10:01
Editing the plugin itself is not recommended as far as I know - With a plugin update, the changes will be lost
phr0zenx
@phr0zenx
Apr 04 2017 10:02
That's why we make a pull request from the existing plugin and maintain our own version.
Since the original plugins are no longer maintained or updated.
Any new updates, we just merge the necessary portions.
Z3roCoder
@Z3roCoder
Apr 04 2017 10:16
That is not really what should be used in a production/enterprise environment
phr0zenx
@phr0zenx
Apr 04 2017 10:17
That's what we're using in our production environment. :D
Deployed with over 20 different apps.
Z3roCoder
@Z3roCoder
Apr 04 2017 10:19
I just talked to a collegue - And you are right :P Sorry!
phr0zenx
@phr0zenx
Apr 04 2017 10:19
???
It's really up to your development team.
Z3roCoder
@Z3roCoder
Apr 04 2017 10:20
I was scared off by you saying "It is no longer maintained or updated", but since the community takes care of it
phr0zenx
@phr0zenx
Apr 04 2017 10:20
If you want to wait for hobbyists who maintains those libraries on github to constantly update it to the latest, it's your call.
We prefer to implement the updates ourselves, especially to construct custom push notifications tailored to our requirements.
Z3roCoder
@Z3roCoder
Apr 04 2017 10:22
It would be nice that, if you update the libraries yourself, if you would be the maintainer already
Bilal Abdullah
@AhadCove
Apr 04 2017 12:28
Where can I find the metatag for CSP?
Bilal Abdullah
@AhadCove
Apr 04 2017 12:45
Anyone? I am trying to get rid of the reques was denied for security reasons in Crosswalk. I see some tips and one of them has to do with removice the CSP Meta tag, but I can't find it anywhere
Manuel
@royalcheeseburger
Apr 04 2017 15:04
Hi guys anyone has a good tutorial on how to setup Route Guard on Ionic 2 with Firebase (using AngularFire2)?
kongupradeep
@kongupradeep
Apr 04 2017 18:19
hi i am not able to call spring java api .it will always through the error 404..please tell me solution
kongupradeep
@kongupradeep
Apr 04 2017 18:27
anyone know please tell me
Z3roCoder
@Z3roCoder
Apr 04 2017 18:42
Have you checked what really happens in your network? Try fiddler
Or Wireshark
yazhe wang
@jeneser
Apr 04 2017 23:55
Hi,all.