aws-samples / aws-sdk-unity-samples

This repository has samples that demonstrate various aspects of the AWS Mobile SDK for Unity, you can get the SDK source on Github (https://github.com/aws/aws-sdk-net)
Other
161 stars 107 forks source link

SNS google-play-services.jar is moved. #23

Open 777CC opened 7 years ago

777CC commented 7 years ago

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