native-view-ios-26 1.0.1 → 1.0.3

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.
@@ -28,7 +28,7 @@ class NativeSafeAreaView: UIView {
28
28
  addSubview(contentView)
29
29
 
30
30
  setupBlurEffect()
31
- updateConstraints()
31
+ setupConstraints()
32
32
 
33
33
  // Listen for safe area changes
34
34
  if #available(iOS 11.0, *) {
@@ -62,7 +62,7 @@ class NativeSafeAreaView: UIView {
62
62
  ])
63
63
  }
64
64
 
65
- private func updateConstraints() {
65
+ private func setupConstraints() {
66
66
  NSLayoutConstraint.activate([
67
67
  contentView.topAnchor.constraint(equalTo: safeAreaLayoutGuide.topAnchor),
68
68
  contentView.leadingAnchor.constraint(equalTo: safeAreaLayoutGuide.leadingAnchor),
@@ -0,0 +1,20 @@
1
+ require 'json'
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = "native-view-ios-26"
7
+ s.version = package['version']
8
+ s.summary = package['description']
9
+ s.homepage = package['repository']['url']
10
+ s.license = package['license']
11
+ s.authors = { package['author'] => "" }
12
+ s.platforms = { :ios => "13.0" }
13
+ s.source = { :git => package['repository']['url'], :tag => "#{s.version}" }
14
+
15
+ s.source_files = "ios/**/*.{h,m,mm,swift}"
16
+
17
+ s.swift_version = '5.0'
18
+
19
+ s.dependency "React-Core"
20
+ end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "native-view-ios-26",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Native iOS Safe Area module for React Native with Swift bridge",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -35,6 +35,7 @@
35
35
  "index.js",
36
36
  "index.d.ts",
37
37
  "components.js",
38
+ "*.podspec",
38
39
  "!**/__tests__",
39
40
  "!**/__fixtures__",
40
41
  "!**/__mocks__"