@@ -9,6 +9,7 @@ public class BugfenderCustomEditor : Editor
99 private SerializedProperty m_EnableUIEventLogging ;
1010 private SerializedProperty m_EnableCrashReporting ;
1111 private SerializedProperty m_HideDeviceName ;
12+ private SerializedProperty m_AutoAndroidID ;
1213 private SerializedProperty m_PrintToConsole ;
1314 private SerializedProperty m_ApiURL ;
1415 private SerializedProperty m_BaseURL ;
@@ -21,6 +22,7 @@ void OnEnable()
2122 m_EnableUIEventLogging = serializedObject . FindProperty ( "ENABLE_UI_EVENT_LOGGING" ) ;
2223 m_EnableCrashReporting = serializedObject . FindProperty ( "ENABLE_CRASH_REPORTING" ) ;
2324 m_HideDeviceName = serializedObject . FindProperty ( "HIDE_DEVICE_NAME" ) ;
25+ m_AutoAndroidID = serializedObject . FindProperty ( "AUTO_ANDROID_ID" ) ;
2426 m_PrintToConsole = serializedObject . FindProperty ( "PRINT_TO_CONSOLE" ) ;
2527 m_ApiURL = serializedObject . FindProperty ( "API_URL" ) ;
2628 m_BaseURL = serializedObject . FindProperty ( "BASE_URL" ) ;
@@ -44,6 +46,7 @@ public override void OnInspectorGUI()
4446 EditorGUILayout . PropertyField ( m_EnableUIEventLogging , new GUIContent ( "Enable UI Event Logging" ) ) ;
4547 EditorGUILayout . PropertyField ( m_EnableCrashReporting , new GUIContent ( "Enable Crash Reporting" ) ) ;
4648 EditorGUILayout . PropertyField ( m_HideDeviceName , new GUIContent ( "Hide device name" ) ) ;
49+ EditorGUILayout . PropertyField ( m_AutoAndroidID , new GUIContent ( "Auto-fetch Android ID" ) ) ;
4750 EditorGUILayout . PropertyField ( m_PrintToConsole , new GUIContent ( "Print to console" ) ) ;
4851 EditorGUILayout . PropertyField ( m_ApiURL , new GUIContent ( "API URL (optional)" ) ) ;
4952 EditorGUILayout . PropertyField ( m_BaseURL , new GUIContent ( "Base URL (optional)" ) ) ;
@@ -58,11 +61,11 @@ public override void OnInspectorGUI()
5861 EditorGUILayout . SelectableLabel ( "Utils.ForceCrash(ForcedCrashCategory.Abort);" ) ;
5962 if ( GUILayout . Button ( "Documentation" , GUILayout . ExpandWidth ( true ) ) )
6063 {
61- Application . OpenURL ( "https://support .bugfender.com/en/articles/118148-can-i-use- bugfender-with -unity" ) ;
64+ Application . OpenURL ( "https://docs .bugfender.com/docs/platforms/hybrid-platforms/ bugfender-for -unity" ) ;
6265 }
6366
6467 serializedObject . ApplyModifiedProperties ( ) ;
65- // Repaint(); // uncomment while editing this file
68+ Repaint ( ) ; // uncomment while editing this file
6669 }
6770
6871}
0 commit comments