Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Commit f2ced70

Browse files
committed
Merge branch 'feature/get-app-properties' into dev
2 parents 13c955f + 573a941 commit f2ced70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

android/src/main/java/com/hudl/oss/react/fragment/ReactFragment.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ public void setAppProperties(Bundle appProperties){
198198
* Helper to get props passed to the React Native Component
199199
*/
200200
public Bundle getAppProperties(){
201+
if( mReactRootView==null) {
202+
return null;
203+
}
201204
return mReactRootView.getAppProperties();
202205
}
203206

0 commit comments

Comments
 (0)