File tree 1 file changed +4
-2
lines changed
lib/android/src/main/java/com/airbnb/android/react/maps
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 14
14
import com .facebook .react .bridge .ReadableMap ;
15
15
import com .facebook .react .bridge .WritableMap ;
16
16
import com .facebook .react .bridge .WritableNativeMap ;
17
+ import com .facebook .react .module .annotations .ReactModule ;
17
18
import com .facebook .react .uimanager .NativeViewHierarchyManager ;
18
19
import com .facebook .react .uimanager .UIBlock ;
19
20
import com .facebook .react .uimanager .UIManagerModule ;
20
21
import com .google .android .gms .maps .GoogleMap ;
21
- import com .google .android .gms .common .GoogleApiAvailability ;
22
22
import com .google .android .gms .maps .model .CameraPosition ;
23
23
import com .google .android .gms .maps .model .LatLng ;
24
24
33
33
34
34
import javax .annotation .Nullable ;
35
35
36
+ @ ReactModule (name = AirMapModule .NAME )
36
37
public class AirMapModule extends ReactContextBaseJavaModule {
37
38
39
+ public static final String NAME = "AirMapModule" ;
38
40
private static final String SNAPSHOT_RESULT_FILE = "file" ;
39
41
private static final String SNAPSHOT_RESULT_BASE64 = "base64" ;
40
42
private static final String SNAPSHOT_FORMAT_PNG = "png" ;
@@ -46,7 +48,7 @@ public AirMapModule(ReactApplicationContext reactContext) {
46
48
47
49
@ Override
48
50
public String getName () {
49
- return "AirMapModule" ;
51
+ return NAME ;
50
52
}
51
53
52
54
@ Override
You can’t perform that action at this time.
0 commit comments