瀏覽代碼

Fix android build for RN 0.58.x (#4706)

Removed unused class which isn't compatible with RN 0.58

Fixes #4646
Alpha 5 年之前
父節點
當前提交
600a1d188b
共有 1 個檔案被更改,包括 0 行新增38 行删除
  1. 0
    38
      lib/android/app/src/main/java/com/reactnativenavigation/utils/NoOpPromise.java

+ 0
- 38
lib/android/app/src/main/java/com/reactnativenavigation/utils/NoOpPromise.java 查看文件

@@ -1,38 +0,0 @@
1
-package com.reactnativenavigation.utils;
2
-
3
-import com.facebook.react.bridge.Promise;
4
-
5
-import javax.annotation.Nullable;
6
-
7
-public class NoOpPromise implements Promise {
8
-    @Override
9
-    public void resolve(@Nullable Object value) {
10
-
11
-    }
12
-
13
-    @Override
14
-    public void reject(String code, String message) {
15
-
16
-    }
17
-
18
-    @Override
19
-    public void reject(String code, Throwable e) {
20
-
21
-    }
22
-
23
-    @Override
24
-    public void reject(String code, String message, Throwable e) {
25
-
26
-    }
27
-
28
-    @Deprecated
29
-    @Override
30
-    public void reject(String message) {
31
-
32
-    }
33
-
34
-    @Override
35
-    public void reject(Throwable reason) {
36
-
37
-    }
38
-}