You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/share_plus/share_plus/android/src/main/kotlin/dev/fluttercommunity/plus/share/MethodCallHandler.kt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ internal class MethodCallHandler(
Copy file name to clipboardExpand all lines: packages/share_plus/share_plus/android/src/main/kotlin/dev/fluttercommunity/plus/share/ShareSuccessManager.kt
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,14 @@ internal class ShareSuccessManager(private val context: Context) : ActivityResul
34
34
}
35
35
}
36
36
37
+
/**
38
+
* Set the `isCalledBack` to `true`. Must be called in every share-sheet calling method
39
+
* before returning.
40
+
*/
41
+
funsignalShareSheetCalledBack(){
42
+
isCalledBack.set(true)
43
+
}
44
+
37
45
/**
38
46
* Must be called if `.startActivityForResult` is not available to avoid deadlocking.
0 commit comments