Skip to main content

Setup

Unity Settings

Enter the channel information and API details for communication with PlayNANOO.

Figure 1. Unity PlayNANOO Menu

Unity PlayNANOO Settings
Figure 2. Unity PlayNANOO Settings

API Authentication Information

  • Game ID
    Enter your channel ID.
  • Service Key
    Enter the issued Service Key.
  • Secret Key
    Enter the issued Secret Key.

Android Settings

For proper service on Android, necessary permissions and activities are automatically added.

Add Permission

PermissionDescriptionAuto Add
InternetPermission required for accessing all PlayNANOO services.Yes
<manifest>
...
<uses-permission android:name="android.permission.INTERNET" />
...
</manifest>

Add Gradle

Set up Gradle details to activate Android WebView.

Android Gradle Settings Figure 3. Android Gradle Settings (Based on Unity 2019.4.x)

In the active Gradle details, enter the following information.

implementation 'com.android.support:cardview-v7:21.0.0'

Android Gradle Settings Figure 4. Enter Android Gradle Information

iOS Settings

Set up info.plist for iOS services.

Add Internet Permission

Add the following permission if you encounter errors while using PlayNANOO services.

info

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.

Permission Settings

info.plist > Information Property List > App Transport Security Settings > Allow Arbitrary Loads 의 값을 YES로 변경

Add iOS Internet Permission
Figure 5. Add iOS Internet Permission

Add Camera and Photo Library Permissions

Add camera and photo library permissions for attaching files in forums and customer support.

Add iOS Camera and Photo Library Permission
Figure 6. Add iOS Camera and Photo Library Permission

Add Framework

For seamless service from PlayNANOO, add the following Frameworks.

FrameworkEmbed
WebKit.frameworkDo Not Embed
PlayNANOOPlugin.frameworkEmbed & Sign

Select OS Framework
Figure 7. Select iOS Framework (Based on Unity 2019.4.x)

Add iOS Framework
Figure 8. Add iOS Framework