From 11234e80c2cecb3ea47512c742eccadb8a89126a Mon Sep 17 00:00:00 2001 From: Christian Brevik Date: Thu, 11 Aug 2016 11:19:22 +0200 Subject: [PATCH] Move onNewInit to correct file, remove override --- .../src/main/java/com/idehub/Billing/InAppBillingBridge.java | 5 +++++ .../java/com/idehub/Billing/InAppBillingBridgePackage.java | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/android/src/main/java/com/idehub/Billing/InAppBillingBridge.java b/android/src/main/java/com/idehub/Billing/InAppBillingBridge.java index de3711c..57a1069 100644 --- a/android/src/main/java/com/idehub/Billing/InAppBillingBridge.java +++ b/android/src/main/java/com/idehub/Billing/InAppBillingBridge.java @@ -368,6 +368,11 @@ public void onActivityResult(final int requestCode, final int resultCode, final bp.handleActivityResult(requestCode, resultCode, intent); } + + public void onNewIntent(Intent intent){ + + } + HashMap mPromiseCache = new HashMap<>(); synchronized void resolvePromise(String key, Object value) { diff --git a/android/src/main/java/com/idehub/Billing/InAppBillingBridgePackage.java b/android/src/main/java/com/idehub/Billing/InAppBillingBridgePackage.java index cfcf5ee..0e61a38 100644 --- a/android/src/main/java/com/idehub/Billing/InAppBillingBridgePackage.java +++ b/android/src/main/java/com/idehub/Billing/InAppBillingBridgePackage.java @@ -39,11 +39,6 @@ public List createNativeModules( public List> createJSModules() { return Collections.emptyList(); } - - @Override - public void onNewIntent(Intent intent){ - - } @Override public List createViewManagers(ReactApplicationContext reactContext) {