File tree Expand file tree Collapse file tree
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/activityresult/__docs__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,7 +142,8 @@ Notes for library authors:
142142- Register early, in a field initializer or the constructor. Only launching
143143 needs an Activity.
144144- An Activity that is not an ` ActivityResultRegistryOwner ` cannot serve
145- launchers. They stay queued and a warning is logged.
145+ launchers; binding to one throws ` IllegalStateException ` . In practice every
146+ ` ComponentActivity ` (including ` ReactActivity ` ) is a registry owner.
146147- After the process is killed and restored, AndroidX redelivers a pending result
147148 under the same key, but any state your module held for the call (typically a
148149 ` Promise ` ) is gone. Write callbacks so they tolerate firing with no pending
You can’t perform that action at this time.
0 commit comments