Skip to content

Commit 8c87f71

Browse files
committed
Use the new pre render method in tests
1 parent b6e6e84 commit 8c87f71

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

android/lib/src/androidTest/java/com/ern/api/impl/SampleActivity.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ public class SampleActivity extends ElectrodeBaseActivity {
2525
public JSONObject finishFlowPayload;
2626

2727
@Override
28-
protected void onCreate(Bundle savedInstanceState) {
29-
super.onCreate(savedInstanceState);
28+
protected void preRootComponentRender() {
3029
ElectrodeReactContainer.initialize(getApplication(), new ElectrodeReactContainer.Config());
3130
}
3231

0 commit comments

Comments
 (0)