The following procedure allows you to integrate and use the Notification SDK Server in your Java project.

The Notification SDK Server requires Java 8.

To use the Notification SDK Server sample in your Java project

  1. Link the libraries from the OneSpan Mobile Security Suite package to your project’s classpath.
  2. In NotificationSDKServerSample.java, replace the following variables according to your device:

    Android

    • Adjust the ANDROID_VASCO_NOTIFICATION_IDENTIFIER variable to set up the OneSpan Notification Identifier for your device. You can retrieve it from your client sample integration after the notification service registration.
    • Adjust the ANDROID_PROJECT_KEY variable to set up your Android project key (API key). You can retrieve it from the Google API Console.

    iOS

You are now ready to use the Notification SDK Server.

The Notification SDK Server contains a solution sample to demonstrate how to integrate the SDK in your .NET project. The following procedures describe how to use both the sample and the SDK in your .NET project.

To use the Notification SDK Server Sample .NET project

  • Copy NotificationSDKServer.dll from the OneSpan Mobile Security Suite package in the lib folder.

You are now ready to use the Notification SDK Server sample.

To use the Notification SDK Server in your .NET project

  1. Add a reference to NotificationSDKServer.dll from the OneSpan Mobile Security Suite package to your project.
  2. Add a Nuget package reference to Newtonsoft.Json version 13.0.3
  3. Add a Nuget package reference to jose-jwt version 4.1.0

You are now ready to use the Notification SDK Server.

The token-based authentication scheme is the only available method to send push notifications to iOS devices.