Setup
Unity Settings
Enter the channel information and API details for communication with PlayNANOO.
Figure 1. Unity PlayNANOO Menu
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
Permission | Description | Auto Add |
---|---|---|
Internet | Permission 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.
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'
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.
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
로 변경
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.
Figure 6. Add iOS Camera and Photo Library Permission
Add Framework
For seamless service from PlayNANOO, add the following Frameworks.
Framework | Embed |
---|---|
WebKit.framework | Do Not Embed |
PlayNANOOPlugin.framework | Embed & Sign |
Figure 7. Select iOS Framework (Based on Unity 2019.4.x)
Figure 8. Add iOS Framework