Skip to content

Commit 5f75f78

Browse files
committed
Add ReactHostHolder interface to provide access to ReactHostDelegate
1 parent 5057451 commit 5f75f78

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package com.microsoft.codepush.react;
2+
3+
import com.facebook.react.ReactHost;
4+
import com.facebook.react.runtime.ReactHostDelegate;
5+
6+
/**
7+
* Provides access to a {@link ReactHostDelegate}
8+
*/
9+
public interface ReactHostHolder {
10+
ReactHost getReactHost();
11+
}

0 commit comments

Comments
 (0)