Beispiel #1
0
        protected override void OnDrawUsageDescriptions()
        {
            IosGoodiesEditorUtils.DrawPlistUsageDescriptionLabel(IGProjectPostprocessor.CalendarsUsageDescription);
            IosGoodiesSettings.CalendarUsageDescription = IosGoodiesEditorUtils.DrawPlistUsageDescriptionText(IosGoodiesSettings.CalendarUsageDescription);

            IosGoodiesEditorUtils.DrawPlistUsageDescriptionLabel(IGProjectPostprocessor.RemindersUsageDescriptionKey);
            IosGoodiesSettings.RemindersUsageDescription = IosGoodiesEditorUtils.DrawPlistUsageDescriptionText(IosGoodiesSettings.RemindersUsageDescription);
        }
Beispiel #2
0
        protected override void OnDrawToggle()
        {
            var newIsEnabled = TitleToggle(IosGoodiesSettings.IsContactPickerEnabled);

            if (newIsEnabled == IosGoodiesSettings.IsContactPickerEnabled)
            {
                return;
            }

            IosGoodiesEditorUtils.ToggleFeature(newIsEnabled, FrameworkDependencies, IosGoodiesEditorUtils.ContactsUiMetaFiles, DefineSymbol);
            IosGoodiesSettings.IsContactPickerEnabled = newIsEnabled;
        }
Beispiel #3
0
        protected override void OnDrawToggle()
        {
            var newIsEnabled = TitleToggle(IosGoodiesSettings.IsCalenderAndRemindersEnabled);

            if (newIsEnabled == IosGoodiesSettings.IsCalenderAndRemindersEnabled)
            {
                return;
            }

            IosGoodiesEditorUtils.ToggleFeature(newIsEnabled, FrameworkDependencies, IosGoodiesEditorUtils.EventKitMetaFiles, DefineSymbol);
            IosGoodiesSettings.IsCalenderAndRemindersEnabled = newIsEnabled;
        }
        void DrawPlistModifications()
        {
            if (!HasPlistModifications)
            {
                return;
            }

            IosGoodiesEditorUtils.GreyLine(margin: 3);

            EditorGUILayout.LabelField("Plist.info modifications:", EditorStyles.boldLabel);
//			EditorGUILayout.LabelField("Additional post processing steps that will be performed on your project by Android goodies", EditorStyles.miniLabel);
            OnDrawUsageDescriptions();
        }
Beispiel #5
0
        protected override void OnDrawToggle()
        {
            var newIsEnabled = TitleToggle(IosGoodiesSettings.IsBiometricAuthEnabled);

            if (newIsEnabled == IosGoodiesSettings.IsBiometricAuthEnabled)
            {
                return;
            }

            IosGoodiesEditorUtils.ToggleFeature(newIsEnabled, FrameworkDependencies, IosGoodiesEditorUtils.LocalAuthMetaFiles, DefineSymbol);

            IosGoodiesSettings.IsBiometricAuthEnabled = newIsEnabled;
        }
        void DrawFrameworkDependencies()
        {
            if (!HasFrameworkDependencies)
            {
                return;
            }

            IosGoodiesEditorUtils.GuiLine(new Color(0.3f, 0.3f, 0.3f, 1f), margin: 3);
            EditorGUILayout.LabelField("Framework dependencies:", EditorStyles.boldLabel);
//			EditorGUILayout.LabelField("These frameworks will be linked in your XCode project if feature is enabled", EditorStyles.miniLabel);
            foreach (var framework in FrameworkDependencies)
            {
                IosGoodiesEditorUtils.DrawFrameworkLabel(framework);
            }
        }
        protected override void OnDrawUsageDescriptions()
        {
            IosGoodiesEditorUtils.DrawPlistUsageDescriptionLabel(IGProjectPostprocessor.PhotoLibraryUsageDescription);
            IosGoodiesSettings.ImagePickerUsageDescription = IosGoodiesEditorUtils.DrawPlistUsageDescriptionText(IosGoodiesSettings.ImagePickerUsageDescription);

            EditorGUILayout.Space();

            IosGoodiesEditorUtils.DrawPlistUsageDescriptionLabel(IGProjectPostprocessor.CameraUsageDescription);
            IosGoodiesSettings.PhotoPickerUsageDescription = IosGoodiesEditorUtils.DrawPlistUsageDescriptionText(IosGoodiesSettings.PhotoPickerUsageDescription);

            EditorGUILayout.Space();

            IosGoodiesEditorUtils.DrawPlistUsageDescriptionLabel(IGProjectPostprocessor.PhotoLibraryAddUsageDescription);
            IosGoodiesSettings.AddPhotoToGalleryUsageDescription = IosGoodiesEditorUtils.DrawPlistUsageDescriptionText(IosGoodiesSettings.AddPhotoToGalleryUsageDescription);
        }
Beispiel #8
0
 protected override void OnDrawUsageDescriptions()
 {
     IosGoodiesEditorUtils.DrawPlistUsageDescriptionLabel(IGProjectPostprocessor.FaceIdUsageDescription);
     IosGoodiesSettings.BiometricsUsageDescription = IosGoodiesEditorUtils.DrawPlistUsageDescriptionText(IosGoodiesSettings.BiometricsUsageDescription);
 }