react-native-pointr 8.16.0 → 8.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [8.16.1]
8
+
9
+ ## Updates
10
+
11
+ - iOS fix for `import react_native_pointr-Swift`
12
+ - iOS fix `pod install` issue
13
+ - Android Java compatibility increased to version 11
14
+
7
15
  ## [8.16.0]
8
16
 
9
17
  ### Updates
@@ -77,8 +77,8 @@ android {
77
77
  }
78
78
 
79
79
  compileOptions {
80
- sourceCompatibility JavaVersion.VERSION_1_8
81
- targetCompatibility JavaVersion.VERSION_1_8
80
+ sourceCompatibility JavaVersion.VERSION_11
81
+ targetCompatibility JavaVersion.VERSION_11
82
82
  }
83
83
  }
84
84
 
@@ -1,6 +1,11 @@
1
1
  #import "PTRNativeLibrary.h"
2
2
 
3
- #import "react_native_pointr-Swift.h"
3
+ #if __has_include("react_native_pointr-Swift.h")
4
+ #import "react_native_pointr-Swift.h"
5
+ #else
6
+ #import <react_native_pointr/react_native_pointr-Swift.h>
7
+ #endif
8
+
4
9
  #import <React/RCTUtils.h>
5
10
 
6
11
  @interface PTRNativeLibrary() <RCTBridgeModule, PTREventManagerDelegate>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-pointr",
3
- "version": "8.16.0",
3
+ "version": "8.16.1",
4
4
  "description": "Pointr React-Native Module",
5
5
  "main": "src/index",
6
6
  "author": " <> ()",
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
 
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
18
 
19
- s.dependency 'PointrKit', '~8'
19
+ s.dependency 'PointrKit', '~> 8'
20
20
 
21
21
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
22
22
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.