We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8997da commit 43a4662Copy full SHA for 43a4662
android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java
@@ -212,9 +212,12 @@ public void dismiss() {
212
* @param tags
213
*/
214
@ReactMethod
215
- public void appendTags(String tags) {
+ public void appendTags(ReadableArray tags) {
216
try {
217
- String[] result = tags.split(",");
+ String[] result = new String[tags.size()];
218
+ for(int i = 0; i < tags.size(); i++) {
219
+ result[i] = tags.getString(i);
220
+ }
221
mInstabug.addTags(result);
222
} catch (Exception e) {
223
e.printStackTrace();
0 commit comments