Esempio n. 1
0
 public void OnPreprocessBuild(BuildReport report)
 {
     Debug.Log("GetSocialPreprocess.OnPreprocessBuild for target " + report.summary.platform + " at path " + report.summary.outputPath);
     if (report.summary.platform == BuildTarget.iOS)
     {
         FileHelper.MarkIOSFrameworks();
     }
     if (report.summary.platform == BuildTarget.Android)
     {
         AndroidManifestHelper.RemoveSdk6Configs();
     }
     GetSocialSettings.UpdateConfigsFile();
 }
        public static void OnPostSceneBuild()
        {
            if (!IsAndroidBuild() || Application.isPlaying)
            {
                return;
            }

            var manifestHelper = new AndroidManifestHelper();

            if (!manifestHelper.IsConfigurationCorrect())
            {
                manifestHelper.Regenerate();
                if (!manifestHelper.IsConfigurationCorrect())
                {
                    Debug.LogWarning("GetSocial: AndroidManifest.xml configuration is not complete. Summary: \n\n" + manifestHelper.ConfigurationSummary());
                }
            }
        }
Esempio n. 3
0
 void OnEnable()
 {
     UpdateRemoteConfig();
     UpdateUiConfigFileCheck();
     AndroidManifestHelper.RemoveSdk6Configs();
 }