File tree 1 file changed +3
-3
lines changed
android/app/src/main/java/com/microsoft/codepush/react
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public String getName() {
79
79
}
80
80
81
81
private boolean isReactApplication (Context context ) {
82
- Class reactApplicationClass = tryGetClass (REACT_APPLICATION_CLASS_NAME );
82
+ Class <?> reactApplicationClass = tryGetClass (REACT_APPLICATION_CLASS_NAME );
83
83
if (reactApplicationClass != null && reactApplicationClass .isInstance (context )) {
84
84
return true ;
85
85
}
@@ -119,10 +119,10 @@ private void loadBundle() {
119
119
// to get the instance manager via the ReactNativeHost, which only exists in 0.29.
120
120
Method getApplicationMethod = ReactActivity .class .getMethod ("getApplication" );
121
121
Object reactApplication = getApplicationMethod .invoke (reactActivity );
122
- Class reactApplicationClass = tryGetClass (REACT_APPLICATION_CLASS_NAME );
122
+ Class <?> reactApplicationClass = tryGetClass (REACT_APPLICATION_CLASS_NAME );
123
123
Method getReactNativeHostMethod = reactApplicationClass .getMethod ("getReactNativeHost" );
124
124
Object reactNativeHost = getReactNativeHostMethod .invoke (reactApplication );
125
- Class reactNativeHostClass = tryGetClass (REACT_NATIVE_HOST_CLASS_NAME );
125
+ Class <?> reactNativeHostClass = tryGetClass (REACT_NATIVE_HOST_CLASS_NAME );
126
126
Method getReactInstanceManagerMethod = reactNativeHostClass .getMethod ("getReactInstanceManager" );
127
127
instanceManager = (ReactInstanceManager )getReactInstanceManagerMethod .invoke (reactNativeHost );
128
128
} catch (Exception e ) {
You can’t perform that action at this time.
0 commit comments