Use Google Cloud Messaging for Push Notifications with NativeScript

NativeScript provides a nice plugin to work with push notifications (https://github.com/NativeScript/push-plugin). They even have a sample app that utilizes Telerik’s own backend platform for the push service. So I wanted to see how easy it was to use the plugin with a different push service. I chose to test this out with Google Cloud Messaging (GCM). It turned out to be pretty simple.

Continue reading “Use Google Cloud Messaging for Push Notifications with NativeScript”

How to use Material Design FAB (Floating Action Button) in a NativeScript app

UPDATE: Get the plugin on NPM

In a follow up to using the Material Design snackbar, I have found myself using more and more components from the Material Design spec. The other day I needed to implement the FAB (floating action button) component. I haven’t had time to think about implementing a plugin just yet but it’s on my schedule for the coming weeks.

I just wanted to share this ‘HOW TO’ guide because it took me awhile to figure out how to set the icon of the FAB, so hopefully this will save someone some time.

Continue reading “How to use Material Design FAB (Floating Action Button) in a NativeScript app”

Nativescript-Snackbar v1.0.1 with iOS support and promises

When I first wrote about using the native Material Design Snackbar component in a NativeScript app, I didn’t know if any developers would care to try it out. I posted it on the NativeScript forums and Steve McNiven-Scott @stevemcniven suggested making it into a plugin, so I thought about it and kept things really simple just abstracting the native android code into a simple plugin for devs to use.

Continue reading “Nativescript-Snackbar v1.0.1 with iOS support and promises”

NativeScript-Snackbar Plugin

In a follow up to my previous post on how to use the Material Design ‘Snackbar’ component in your Android NativeScript app, I’d like to announce that yesterday I published a plugin available here on NPM. Currently this is Android only, I’m looking to integrate with a decent Cocoapod for the iOS version.

Continue reading “NativeScript-Snackbar Plugin”

How to use Material Design Snackbar In A NativeScript App

This post will give a quick overview on how to use the Material Design Snackbar within a NativeScript app. If you are not familiar with Material Design, you can read all about it here on Google’s site.

With Material Design Google created numerous components/widgets for creating Android applications. One of my favorites is the ‘Snackbar’ and this post will show you how to use it within your NativeScript app. You’ll need to be running the Android app since this is native to Android and not iOS.

Continue reading “How to use Material Design Snackbar In A NativeScript App”