Essential Kit Tutorials
DocumentationDownload
Version 2
Version 2
  • Introduction
  • Features
  • Version 2 vs Version 1
  • Release Notes
    • ✅Version 2.7.4
    • Version 2.7.3
    • Version 2.7.2
    • Version 2.7.1
    • Version 2.7.0
    • Older Versions
      • Version 2.6.1
      • Version 2.6.0
      • Version 2.5.1
      • Version 2.5.0
      • Version 2.4.1
      • Version 2.4.0
      • Version 2.3.1
      • Version 2.3.0
      • Version 2.2.1
      • Version 2.2.0
      • Version 2.1.1
      • Version 2.1.0
      • Version 2.0.4
      • Version 2.0.3
      • Version 2.0.2
      • Version 2.0.1
      • Version 2.0.0
  • Plugin Overview
    • Settings
    • Folder Structure
    • Installation FAQ
    • Localisation
  • Address Book
    • Overview
    • Use Cases
    • Setup
    • Usage
    • Testing
    • FAQ
  • Billing Services
    • Overview
    • Use Cases
    • Setup
      • iOS
      • Android
    • Usage
    • Testing
      • iOS
      • Android
    • FAQ
  • Cloud Services
    • Overview
    • Use Cases
    • Setup
      • iOS
      • Android
    • Usage
    • Testing
    • FAQ
  • Deep Link Services
    • Overview
    • Use Cases
    • Setup
      • iOS
      • Android
    • Usage
    • Testing
    • FAQ
  • Extras (Utilities)
    • Overview
    • Usage
  • Game Services
    • Overview
    • Use Cases
    • Setup
      • iOS
      • Android
    • Usage
    • FAQ
  • Media Services
    • Overview
    • Use Cases
    • Setup
    • Usage
    • FAQ
  • Native UI
    • Overview
    • Use Cases
    • Setup
    • Usage
    • FAQ
  • Network Services
    • Overview
    • Use Cases
    • Setup
    • Usage
    • FAQ
  • Notification Services
    • Overview
    • Use Cases
    • Setup
      • iOS
      • Android
    • Usage
    • FAQ
  • Rate My App
    • Overview
    • Use Cases
    • Setup
    • Usage
    • FAQ
  • Sharing
    • Overview
    • Use Cases
    • Setup
    • Usage
      • Message Composer
      • Mail Composer
      • Social Share Composer
      • Share Sheet
    • FAQ
  • Web View
    • Overview
    • Use Cases
    • Setup
    • Usage
    • FAQ
  • Notes
    • Resolving Android Gradle Build Errors
    • Google Play Services Authentication
Powered by GitBook
On this page
  • Uninstall existing package(1.x) from top menu bar -> Window -> Voxel Busters -> Native Plugins -> Uninstall
  • 1. Change NameSpace
  • 2. Change Access Interface
  • 3. Changed from NPSettings to Essential Kit Settings
  • 4. All callbacks follow a standard format
  • 5. Move files in PluginResources folder to StreamingAssets
  • 6. Better Folder Structure and .asmdef support

Was this helpful?

Edit on GitHub
  1. Release Notes
  2. Older Versions

Version 2.0.0

Guide for upgrading from 1.x version

Uninstall existing package(1.x) from top menu bar -> Window -> Voxel Busters -> Native Plugins -> Uninstall

Follow the below changes and then uninstall v1.x so that it's easy to migrate without any compilation errors. Else you can simply uninstall and go with the below changes. Both ways are fine.

1. Change NameSpace

Version 2.0 changed the root namespace of the plugin from VoxelBusters.NativePlugins to VoxelBusters.EssentialKit.

Version

Code Changes

V1.x

using VoxelBusters.NativePlugins;

V2.x

using VoxelBusters.EssentialKit;

2. Change Access Interface

Version 2.0 dropped NPBinding interface access and now you can directly use the feature name.

Version 1.x

Version 2.x

NPBinding.GameServices

GameServices

NPBinding.AddressBook

AddressBook

NPBinding.CloudServices

CloudServices

NPBinding.MediaLibrary

MediaServices

NPBinding.BillingServices

BillingServices

NPBinding.NotificationServices

NotificationServices

3. Changed from NPSettings to Essential Kit Settings

4. All callbacks follow a standard format

Version 2.0 follows a standard format for callbacks with a Result and Error objects

public delegate void EventCallback<TResult>(TResult result, Error error);

In the above, result is the data for the operation and Error object is a wrapper for error details.

Example

public static void LoadLeaderboards(EventCallback<GameServicesLoadLeaderboardsResult> callback)

EventCallback result contains GameServicesLeaderboardResult value an error object if any error occurs while loading the leaderboards.

5. Move files in PluginResources folder to StreamingAssets

If you have any custom images (for ex: Large Icon image used for notifications), move it to Assets/StreamingAssets folder.

6. Better Folder Structure and .asmdef support

PreviousVersion 2.0.1NextSettings

Last updated 4 years ago

Was this helpful?

V1 used to have all of its settings in the NPSettings asset object. Now this got renamed to and is moved to Assets/Plugins/VoxelBusters/EssentialKit/Resources folder.

of the plugin got changed a lot from v1 and its more cleaner now. All the plugin files will be in Assets/Plugins/VoxelBusters/EssentialKit now compared to earlier version where it was too much distributed.

Now, complete plugin is .asdmdef compatible!

👯‍♂️
👯‍♂️
👯‍♂️
Folder structure
Essential Kit Settings