Skip to content

Commit a4cd9eb

Browse files
fix stringee listener problems when restart app
1 parent 0edf5e9 commit a4cd9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/stringeereactnative/RNStringeeClientModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ public void init() {
4242
mClient = mStringeeManager.getClient();
4343
if (mClient == null) {
4444
mClient = new StringeeClient(getReactApplicationContext());
45-
mClient.setConnectionListener(this);
4645
}
4746

47+
mClient.setConnectionListener(this);
4848
mStringeeManager.setClient(mClient);
4949
}
5050

0 commit comments

Comments
 (0)