@@ -22,29 +22,31 @@ A Flutter plugin for [Instabug](https://instabug.com/).
22
22
23
23
The table below contains a list of APIs we're planning to implement for our 1.0 release. We'll add the Dart API methods as we implement them.
24
24
25
- | Dart API Method | Android Equivalent | iOS Equivalent |
26
- | ------------| ---------------------------------------------------------------------------------| -------------------------------------------------|
27
- | | ` new Instabug.Builder(this, "APP_TOKEN").build() ` | ` + [Instabug startWithToken:invocationEvents:] ` |
28
- | | ` Instabug.showWelcomeMessage(WelcomeMessage.State state) ` | ` + [Instabug showWelcomeMessageWithMode:] ` |
29
- | | ` Instabug.identifyUser(String username, String email) ` | ` + [Instabug identifyUserWithEmail:name:] ` |
30
- | | ` Instabug.logoutUser() ` | ` + [Instabug logOut] ` |
31
- | | ` Instabug.setLocale(Locale locale) ` | ` + [Instabug setLocale:] ` |
32
- | | ` Instabug.setColorTheme(InstabugColorTheme theme) ` | ` + [Instabug setColorTheme:] ` |
33
- | | ` Instabug.addTags(String... tags) ` | ` + [Instabug appendTags:] ` |
34
- | | ` Instabug.resetTags() ` | ` + [Instabug resetTags] ` |
35
- | | ` Instabug.getTags() ` | ` + [Instabug getTags] ` |
36
- | | ` Instabug.setCustomTextPlaceHolders(InstabugCustomTextPlaceHolder placeholder) ` | ` + [Instabug setValue:forStringWithKey:] ` |
37
- | | ` Instabug.setUserAttribute(String key, String value) ` | ` + [Instabug setUserAttribute:withKey:] ` |
38
- | | ` Instabug.getUserAttribute(String key) ` | ` + [Instabug userAttributeForKey:] ` |
39
- | | ` Instabug.removeUserAttribute(String key) ` | ` + [Instabug removeUserAttributeForKey:] ` |
40
- | | ` Instabug.getAllUserAttributes() ` | ` + [Instabug userAttributes:] ` |
41
- | | ` Instabug.logUserEvent(String name) ` | ` + [Instabug logUserEventWithName:] ` |
42
- | | ` BugReporting.invoke() ` | ` + [IBGBugReporting invoke] ` |
43
- | | ` BugReporting.invoke(InvocationMode mode,@InvocationOption int... options) ` | `+ [ IBGBugReporting invokeWithMode:options:] |
44
- | | ` InstabugLog.d(String message) ` | ` + [IBGLog log:] ` |
45
- | | ` InstabugLog.v(String message) ` | ` + [IBGLog logVerbose:] ` |
46
- | | ` InstabugLog.d(String message) ` | ` + [IBGLog logDebug:] ` |
47
- | | ` InstabugLog.i(String message) ` | ` + [IBGLog logInfo:] ` |
48
- | | ` InstabugLog.w(String message) ` | ` + [IBGLog logWarn:] ` |
49
- | | ` InstabugLog.e(String message) ` | ` + [IBGLog logError:] ` |
50
- | | ` Instabug.clearLogs() ` | ` + [IBGLog clearAllLogs:] ` |
25
+
26
+
27
+ | API Method | Native Equivalent |
28
+ | ------------| -----------------------------------------------------------------------------------------------------------------------------------------|
29
+ | | Android: ` new Instabug.Builder(this, "APP_TOKEN").build() ` <br >iOS: ` + [Instabug startWithToken:invocationEvents:] ` |
30
+ | | Android: ` Instabug.showWelcomeMessage(WelcomeMessage.State state) ` <br >iOS: ` + [Instabug showWelcomeMessageWithMode:] ` |
31
+ | | Android: ` Instabug.identifyUser(String username, String email) ` <br >iOS: ` + [Instabug identifyUserWithEmail:name:] ` |
32
+ | | Android: ` Instabug.logoutUser() ` <br >iOS: ` + [Instabug logOut] ` |
33
+ | | Android: ` Instabug.setLocale(Locale locale) ` <br >iOS: ` + [Instabug setLocale:] ` |
34
+ | | Android: ` Instabug.setColorTheme(InstabugColorTheme theme) ` <br >iOS: ` + [Instabug setColorTheme:] ` |
35
+ | | Android: ` Instabug.addTags(String... tags) ` <br >iOS: ` + [Instabug appendTags:] ` |
36
+ | | Android: ` Instabug.resetTags() ` <br >iOS: ` + [Instabug resetTags] ` |
37
+ | | Android: ` Instabug.getTags() ` <br >iOS: ` + [Instabug getTags] ` |
38
+ | | Android: ` Instabug,setCustomTextPlaceHolders(InstabugCustomTextPlaceHolder placeholder) ` <br >iOS: ` + [Instabug setValue:forStringWithKey:] ` |
39
+ | | Android: ` Instabug.setUserAttribute(String key, String value) ` <br >iOS: ` + [Instabug setUserAttribute:withKey:] ` |
40
+ | | Android: ` Instabug.getUserAttribute(String key) ` <br >iOS: ` + [Instabug userAttributeForKey:] ` |
41
+ | | Android: ` Instabug.removeUserAttribute(String key) ` <br >iOS: ` + [Instabug removeUserAttributeForKey:] ` |
42
+ | | Android: ` Instabug.getAllUserAttributes() ` <br >iOS: ` + [Instabug userAttributes:] ` |
43
+ | | Android: ` Instabug.logUserEvent(String name) ` <br >iOS: ` + [Instabug logUserEventWithName:] ` |
44
+ | | Android: ` BugReporting.invoke() ` <br >iOS: ` + [IBGBugReporting invoke] ` |
45
+ | | Android: ` BugReporting.invoke(InvocationMode mode,@InvocationOption int... options) ` <br >iOS: `+ [ IBGBugReporting invokeWithMode:options:] |
46
+ | | Android: ` InstabugLog.d(String message) ` <br >iOS: ` + [IBGLog log:] ` |
47
+ | | Android: ` InstabugLog.v(String message) ` <br >iOS: ` + [IBGLog logVerbose:] ` |
48
+ | | Android: ` InstabugLog.d(String message) ` <br >iOS: ` + [IBGLog logDebug:] ` |
49
+ | | Android: ` InstabugLog.i(String message) ` <br >iOS: ` + [IBGLog logInfo:] ` |
50
+ | | Android: ` InstabugLog.w(String message) ` <br >iOS: ` + [IBGLog logWarn:] ` |
51
+ | | Android: ` InstabugLog.e(String message) ` <br >iOS: ` + [IBGLog logError:] ` |
52
+ | | Android: ` Instabug.clearLogs() ` <br >iOS: ` + [IBGLog clearAllLogs:] ` |
0 commit comments