File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apply plugin: 'maven-publish'
3
3
apply plugin : ' com.jfrog.bintray'
4
4
5
5
group ' com.xendit'
6
- version ' 3.6.2 '
6
+ version ' 3.6.3 '
7
7
8
8
ext {
9
9
bintrayOrg = ' xendit'
Original file line number Diff line number Diff line change @@ -709,6 +709,20 @@ public void onFailure(NetworkError error) {
709
709
}));
710
710
}
711
711
712
+ public void unregisterAllBroadcastReceiver () {
713
+ if (authenticationBroadcastReceiver != null ) {
714
+ context .unregisterReceiver (authenticationBroadcastReceiver );
715
+ }
716
+
717
+ if (tokenBroadcastReceiver != null ) {
718
+ context .unregisterReceiver (tokenBroadcastReceiver );
719
+ }
720
+
721
+ if (authenticatedTokenBroadcastReceiver != null ) {
722
+ context .unregisterReceiver (authenticatedTokenBroadcastReceiver );
723
+ }
724
+ }
725
+
712
726
private void registerBroadcastReceiver (final AuthenticationCallback authenticationCallback ) {
713
727
new Handler (Looper .getMainLooper ()).post (new Runnable () {
714
728
@ Override
You can’t perform that action at this time.
0 commit comments