@@ -0,0 +1,1625 @@
+package com.telephony;%0A%0Aimport android.app.Application;%0A%0Aimport com.facebook.react.ReactPackage;%0Aimport com.facebook.react.bridge.JavaScriptModule;%0Aimport com.facebook.react.bridge.NativeModule;%0Aimport com.facebook.react.bridge.ReactApplicationContext;%0Aimport com.facebook.react.uimanager.ViewManager;%0Aimport com.telephony.module.PhoneState.TelephonyCallStateModule;%0Aimport com.telephony.module.TelephonyActionModule;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Arrays;%0Aimport java.util.Collections;%0Aimport java.util.List;%0A%0A/**%0A * Created by Rafael on 03/07/17.%0A */%0A%0Apublic class TelephonyPackage implements ReactPackage %7B%0A%0A    private Application applicationInstance;%0A%0A    public TelephonyPackage(Application applicationInstance) %7B%0A        super();%0A        this.applicationInstance = applicationInstance;%0A    %7D%0A%0A    @Override%0A    public List%3CClass%3C? extends JavaScriptModule%3E%3E createJSModules() %7B%0A        return Arrays.%3CClass%3C? extends JavaScriptModule%3E%3EasList(%0A                TelephonyActionModule.class%0A        );%0A    %7D%0A%0A    @Override%0A    public List%3CViewManager%3E createViewManagers(ReactApplicationContext reactContext) %7B%0A        return Collections.emptyList();%0A    %7D%0A%0A    @Override%0A    public List%3CNativeModule%3E createNativeModules(%0A            ReactApplicationContext reactContext) %7B%0A        List%3CNativeModule%3E modules = new ArrayList%3C%3E();%0A%0A        TelephonyCallStateModule telephonyCallStateModule = new TelephonyCallStateModule(reactContext);%0A%0A        applicationInstance.registerActivityLifecycleCallbacks(telephonyCallStateModule);%0A%0A        modules.add(telephonyCallStateModule);%0A%0A        return modules;%0A    %7D%0A%7D

version 0.0.3