GDK Installation Guide
Requirements
Unity 2022.3.39+
Minimum Android SDK version: 24
Minimum iOS version: 12.0
Import GDK package
Download the latest GDK Unity package [here]
Import
.unitypackage
into your project
Setup
Drag and drop the GDK prefab from Assets/NEGdk/Prefab/NEGdk.prefab
into your start scene
Select the NEGdk GameObject and update the configuration in the Inspector for your game.
NEGDK uses Ramper to support social login on Android and iOS. Your app's scheme
must be configured for this feature to work. Follow the section below for setting up your app's scheme
on Android and iOS.
Setup for Android
Create custom
AndroidManifest
by checking the boxCustom Main Manifest
inPlayer Setting/Android/Publising Settings
.AndroidManifest
The file will be found at
Assets/Plugins/Android/AndroidManifest.xml
Add your app's scheme in
activity
section inAndroidManifest.xml
:
Add INTERNET permission in
AndroidManifest.xml
:
Setup for iOS
Update
Assets/NEGdk/Editor/IOSPostProcessBuild.cs
to add your app scheme for iOS automatically whenever building an XCode project with Unity:
Example
You can check out the example code at Asssets/NEGdk/Sample/NEGdkSample.cs
Last updated