Skip to content

Commit

Permalink
fix sdk for android
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrStefaniakEscola committed Jun 17, 2024
1 parent d2e2291 commit af82793
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android/.classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-15/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public Settings setTelematicsSettings() {
Settings.getAccuracyHigh(),
true,
true,
true,
false
);
Log.d(TAG, "setTelematicsSettings");
Expand Down
3 changes: 3 additions & 0 deletions example/ios/TelematicsSdkExample/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ - (NSURL *)getBundleURL
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
[RPEntry applicationWillEnterForeground:application];
}

- (void)application:(UIApplication *)application handleEventsForBackgroundURLSession:(nonnull NSString *)identifier completionHandler:(nonnull void (^)(void))completionHandler {
[RPEntry application:application handleEventsForBackgroundURLSession:identifier completionHandler:completionHandler];
Expand Down
2 changes: 1 addition & 1 deletion react-native-telematics-sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Pod::Spec.new do |s|
s.license = package["license"]
s.authors = package["author"]

s.platforms = { :ios => "12.0" }
s.platforms = { :ios => "13.0" }
s.source = { :git => "https://github.com/maximcodm/react-native-telematics-sdk.git", :tag => "#{s.version}" }

s.source_files = "ios/**/*.{h,m,mm,swift}"
Expand Down

0 comments on commit af82793

Please sign in to comment.