package com.videoplayer;

import android.app.Application;

import com.brentvatne.react.ReactVideoPackage;
import com.facebook.react.ReactApplication;
import com.brentvatne.react.ReactVideoPackage;
import com.brentvatne.react.ReactVideoPackage;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import com.facebook.soloader.SoLoader;

import java.util.Arrays;
import java.util.List;

public class MainApplication extends Application implements ReactApplication {

  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
    @Override
    public boolean getUseDeveloperSupport() {
      return BuildConfig.DEBUG;
    }

    @Override
    protected List<ReactPackage> getPackages() {
      return Arrays.asList(
        new MainReactPackage(),
            new ReactVideoPackage(),
            new ReactVideoPackage(),
        new ReactVideoPackage()
      );
    }
  };

  @Override
  public ReactNativeHost getReactNativeHost() {
    return mReactNativeHost;
  }

  @Override
  public void onCreate() {
    super.onCreate();
    SoLoader.init(this, /* native exopackage */ false);
  }
}

@@ -67,133 +67,39 @@
 com.
-brentvatne.react.ReactVideoPackage;%0Aimport com.facebook.react.ReactApplication;%0Aimport com.brentvatne.react.ReactVideoPackage
+facebook.react.ReactApplication
 ;%0Aim
@@ -785,79 +785,13 @@
 ge()
-,
 %0A    
-        new ReactVideoPackage(),%0A        new ReactVideoPackage()%0A
     

remove duplicate ReactVideoPackage()