diff --git a/android/src/main/java/com/reactnativecommunity/geolocation/GeolocationModule.java b/android/src/main/java/com/reactnativecommunity/geolocation/GeolocationModule.java index ad6ce15..b846a44 100644 --- a/android/src/main/java/com/reactnativecommunity/geolocation/GeolocationModule.java +++ b/android/src/main/java/com/reactnativecommunity/geolocation/GeolocationModule.java @@ -438,4 +438,4 @@ private boolean isSameProvider(String provider1, String provider2) { return provider1.equals(provider2); } } -} \ No newline at end of file +} diff --git a/android/src/main/java/com/reactnativecommunity/geolocation/PositionError.java b/android/src/main/java/com/reactnativecommunity/geolocation/PositionError.java index b643382..054b6b6 100644 --- a/android/src/main/java/com/reactnativecommunity/geolocation/PositionError.java +++ b/android/src/main/java/com/reactnativecommunity/geolocation/PositionError.java @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -package com.facebook.react.modules.location; +package com.reactnativecommunity.geolocation; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.WritableMap; @@ -39,7 +39,7 @@ public static WritableMap buildError(int code, String message) { if (message != null) { error.putString("message", message); } - + /** * Provide error types in error message. Feature parity with iOS */ diff --git a/example/GeolocationExample.js b/example/GeolocationExample.js index a2d777a..b5e1d56 100644 --- a/example/GeolocationExample.js +++ b/example/GeolocationExample.js @@ -64,4 +64,4 @@ const styles = StyleSheet.create({ title: { fontWeight: '500', }, -}); \ No newline at end of file +}); diff --git a/ios/RNCGeolocation.h b/ios/RNCGeolocation.h index 17b9433..75bc64c 100644 --- a/ios/RNCGeolocation.h +++ b/ios/RNCGeolocation.h @@ -9,4 +9,4 @@ @interface RNCGeolocation : RCTEventEmitter -@end \ No newline at end of file +@end diff --git a/ios/RNCGeolocation.m b/ios/RNCGeolocation.m index a763c0d..1d3c60c 100644 --- a/ios/RNCGeolocation.m +++ b/ios/RNCGeolocation.m @@ -397,4 +397,4 @@ static void checkLocationConfig() #endif } -@end \ No newline at end of file +@end diff --git a/js/__tests__/Geolocation-test.js b/js/__tests__/Geolocation-test.js index d781b8c..4fceba8 100644 --- a/js/__tests__/Geolocation-test.js +++ b/js/__tests__/Geolocation-test.js @@ -87,4 +87,4 @@ describe('react-native-geolocation', () => { ); expect(mockWarningCallback.mock.calls.length).toBeGreaterThanOrEqual(1); }); -}); \ No newline at end of file +}); diff --git a/js/index.js b/js/index.js index 2350142..140875c 100644 --- a/js/index.js +++ b/js/index.js @@ -158,4 +158,4 @@ const Geolocation = { }, }; -module.exports = Geolocation; \ No newline at end of file +module.exports = Geolocation;