Xamarin Blog

An open source mobile platform for building Android, iOS, macOS, watchOS, and tvOS apps with .NET.

Securing network traffic with TLS 1.2

Secure and encrypted network communications are a crucial part of mobile application development. Without some kind of security around the communication layer, it is trivial for a third party to eavesdrop and tamper with the messages between the client and the server. If protecting the data being transmitted is important, then some kind of cryptography must be involved to protect both the sender and the receiver from malicious eyes.

Previewing Files Inside Your Xamarin.iOS App

If your app interacts with files, such as email attachments or photos, allowing users to preview those files without leaving your app is a great way to enhance the user's experience. Fortunately, iOS makes adding this feature simple by providing the document interaction controller and the Quick Look preview controller. In this post, you will learn the differences between the two options and how you can implement them in your app.

Requesting Reviews with iOS 10.3’s SKStoreReviewController

Asking your users to review your app is never easy, and there was never an intuitive way to do it. Developers were left to constantly prompt users to review the app with pop ups or by putting a Leave Review button somewhere hidden in the settings, as I have done for many years (here is a quick blog to show you how to do it). Starting on iOS 10.3 this has all changed with the introduction of the SKStoreReviewController, which controls the process of requesting App Store ratings and reviews from your users with a streamlined, in-app dialog.

Securing Web Requests with TLS 1.2

In my years of development, one thing I've learned for certain is that securing your network requests is an essential part of any mobile application. A few weeks ago one of my own applications stopped working due to a change to a Secure Sockets Layer (SSL) certificate on meetup.com's authentication server, which made me realize the important role Transport Layer Security (TLS) plays in securing app and server requests.

Consumable In-App Purchases

If you are building a game or application with content that needs to be purchased multiple times, you'll need to integrate consumable in-app purchases (IAPs) into your application. In my previous IAP blog post, I covered the basics of setting up your app for IAP transactions, adding the IAP items to Google Play and iTunes Connect, and introduced you to the In-App Billing Plugin for Xamarin that greatly simplifies the process of adding IAP to your application's code. Today, we'll take a look at consumables and how they offer a slight tweak to the development process.

Integrating In-App Purchases in Mobile Apps

Developers often need to integrate monetization to generate revenue when developing mobile apps. There are several ways to monetize apps, but at some point you may want to introduce In-App Purchases, or IAPs, into your app. IAPs can be used in several ways that could apply to your apps, such as adding features, removing ads, or buying in-game currency. Let's take an in-depth look at IAPs and how to add them to mobile apps.

Enhanced Device Logging in Visual Studio

During development we often print out logs, warnings, and errors to the console to help with the debugging process. However, with the complexity of mobile operating systems and applications, we often need to see what's happening on the device or being logged by other parts of the operating system. This is where the iOS and Android device logs come in to help; they've been completely redesigned in the latest version of Xamarin for Visual Studio.