package com.react.rnspinkit;

import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * Created by suzuri04x2 on 2016/5/10.
 */
public class RNSpinkitPackage implements ReactPackage{
    @Override
    public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
        return Collections.emptyList();
    }

    @Override
    public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
        List<ViewManager> list = new ArrayList<>();
        list.add(new RNSpinkit(reactContext));
        return list;
    }
}

@@ -636,16 +636,134 @@
 %0A    %7D%0A%0A
+    public List%3CClass%3C? extends JavaScriptModule%3E%3E createJSModules() %7B%0A        return Collections.emptyList();%0A    %7D%0A%0A
     @Ove

Fix backward compatibility for RN < 0.47