This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
android/app/src/main/java/com/microsoft/codepush/react Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public String getName() {
7979 }
8080
8181 private boolean isReactApplication (Context context ) {
82- Class reactApplicationClass = tryGetClass (REACT_APPLICATION_CLASS_NAME );
82+ Class <?> reactApplicationClass = tryGetClass (REACT_APPLICATION_CLASS_NAME );
8383 if (reactApplicationClass != null && reactApplicationClass .isInstance (context )) {
8484 return true ;
8585 }
@@ -119,10 +119,10 @@ private void loadBundle() {
119119 // to get the instance manager via the ReactNativeHost, which only exists in 0.29.
120120 Method getApplicationMethod = ReactActivity .class .getMethod ("getApplication" );
121121 Object reactApplication = getApplicationMethod .invoke (reactActivity );
122- Class reactApplicationClass = tryGetClass (REACT_APPLICATION_CLASS_NAME );
122+ Class <?> reactApplicationClass = tryGetClass (REACT_APPLICATION_CLASS_NAME );
123123 Method getReactNativeHostMethod = reactApplicationClass .getMethod ("getReactNativeHost" );
124124 Object reactNativeHost = getReactNativeHostMethod .invoke (reactApplication );
125- Class reactNativeHostClass = tryGetClass (REACT_NATIVE_HOST_CLASS_NAME );
125+ Class <?> reactNativeHostClass = tryGetClass (REACT_NATIVE_HOST_CLASS_NAME );
126126 Method getReactInstanceManagerMethod = reactNativeHostClass .getMethod ("getReactInstanceManager" );
127127 instanceManager = (ReactInstanceManager )getReactInstanceManagerMethod .invoke (reactNativeHost );
128128 } catch (Exception e ) {
You can’t perform that action at this time.
0 commit comments