Store Lists in Xamarin Forms Settings Plugin
When storing settings in Xamarin Forms you are probably aware of SettingsPlugin provided by James Montemagno. If not, have a look at it! The plugin only supports simple data types like int, string, bool etc. but not lists. So if you want to store lists with the SettingsPlugin in your Xamarin Forms app you need to serialze them first. Here is a short example how to do it.
How to add initial code from Xamarin Studio to git at VisualStudio.com
In previous posting I’ve already described how to access existing code from git at visualstudio.com using Xamarin Studio. Now here is the description how to initially upload code from Xamarin Studio into git at visualstudio.com. Continue reading…
Setup Xamarin Forms for iOS Push Notifications
After setting up Android Push Notifications it’s time to add push notifications also for iOS Xamarin Forms Apps. Apples iOS simulators do not support Push Notifications so we need real hardward for testing. And an Apple Developer Account of course.
Sending Xamarin Forms Push Notification to single recipient
In previous postings we have setup a Xamarin Forms App to send push notifications via Azure. The next step is now to reduce the number of recipients. Typically we don’t want to send a push notification to all our users. Fortunately only some new lines have to be added to the existing code.
Setup Xamarin Forms Android App for Push Notifications
Now that we have setup Microsoft Azure, Google Firebase Cloud Messaging and also our new Azure Mobile App, it’s time to update our existing Xamarin Forms App. First we start with the Android part as this is the easy one because it works on both Windows and Mac and push notifications also work fine in the Android Emulator (in opposite to Apples iPhone Simulator because for testing push notifications on iPhone you need iPhone hardware).
This posting is part of a series of 3 postings regarding push notifications with Xamarin Forms:
Setup server part for Xamarin Forms Push Notifications
For sending push notifications to Xamarin Forms app we need to configure Azure and Firebase, update the existing Xamarin Forms App, and we need to have a server part because the initiator of the push message (e.g. another smartphone or a server, wherever the action appeared) will not send directly to Azure. Instead, the message is sent to a server component which will take care about the sending of the push notification to Azure. So current post shows how to setup the server component.
This posting is part of a series of 3 postings regarding push notifications with Xamarin Forms:
Configure Azure and Google Firebase for push notifications in Xamarin Forms
One of the key features of modern smartphones (iPhone, Android, Windows Phone etc.) are push notifications. Unfortunately it’s not as easy as e.g. email. Therefore I’ve split my posting into 3 postings:
Your Java version (1.7.0) is too old. You must have at least 1.8 installed.
After updating Xamarin for Visual Studio and Android SDK I got the following error message:
Droid cannot build using Android 7.1 (API Level 25 – Nougat) because Your Java version (1.7.0) is too old. You must have at least 1.8 installed. Continue reading…