internal static Dictionary <string, string> ReadProjectFields()
        {
            string text = GenerateXmlFromGoogleServicesJson.FindGoogleServicesFile(GenerateXmlFromGoogleServicesJson.ConfigFileType.Json, null, GenerateXmlFromGoogleServicesJson.FindGoogleServicesFileMode.ReturnBundleIdMatches, null, null);

            if (text != null)
            {
                return(GenerateXmlFromGoogleServicesJson.ReadProjectFields(text));
            }
            return(new Dictionary <string, string>());
        }
        private void OnFocus()
        {
            Dictionary <string, string> dictionary = GenerateXmlFromGoogleServicesJson.ReadProjectFields();

            if (!dictionary.TryGetValue("project_id", out SettingsWindow.s_androidProjectId))
            {
                SettingsWindow.s_androidProjectId = null;
            }
            XcodeProjectPatcher.ReadConfig(false, null);
            Dictionary <string, string> config = XcodeProjectPatcher.GetConfig();

            if (!config.TryGetValue("PROJECT_ID", out SettingsWindow.s_iosProjectId))
            {
                SettingsWindow.s_iosProjectId = null;
            }
            base.Repaint();
        }