aws-samples / aws-samples/aws-sdk-unity-samples

SNS google-play-services.jar is moved.

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
163
Forks
107
PR merge metrics
No merged PRs in 30d

Description

I recommended using this packet https://github.com/googlesamples/unity-jar-resolver
//GCMDependencies.cs
using Google.JarResolver;
using UnityEditor;

[InitializeOnLoad]
public static class GCMDependencies
{
static GCMDependencies()
{
PlayServicesSupport svcSupport = PlayServicesSupport.CreateInstance(
"AdsSample", EditorPrefs.GetString("AndroidSdkRoot"), "ProjectSettings");

svcSupport.DependOn("com.google.android.gms", "play-services-gcm", "10.2+");
}
}

move GCMDependencies.cs to Editor folder

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.