Skip to content

Commit 77fd4ac

Browse files
committed
Update example app to react-native 0.77.1
1 parent 0e25780 commit 77fd4ac

File tree

16 files changed

+2493
-2638
lines changed

16 files changed

+2493
-2638
lines changed

RNPermissions.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Pod::Spec.new do |s|
1717
s.source = { :git => package["repository"]["url"], :tag => s.version }
1818
s.resource_bundles = { 'RNPermissionsPrivacyInfo' => 'ios/PrivacyInfo.xcprivacy' }
1919

20-
s.source_files = "ios/*.{h,mm}"
21-
# s.frameworks = <frameworks>
20+
s.source_files = "ios/*.{h,mm}", "ios/StoreKit/*.{h,mm}", "ios/FaceID/*.{h,mm}", "ios/Calendars/*.{h,mm}", "ios/LocationAlways/*.{h,mm}", "ios/PhotoLibraryAddOnly/*.{h,mm}", "ios/Microphone/*.{h,mm}", "ios/SpeechRecognition/*.{h,mm}", "ios/LocationWhenInUse/*.{h,mm}", "ios/PhotoLibrary/*.{h,mm}", "ios/Camera/*.{h,mm}", "ios/Contacts/*.{h,mm}", "ios/Motion/*.{h,mm}", "ios/CalendarsWriteOnly/*.{h,mm}", "ios/AppTrackingTransparency/*.{h,mm}", "ios/LocationAccuracy/*.{h,mm}", "ios/Bluetooth/*.{h,mm}", "ios/MediaLibrary/*.{h,mm}", "ios/Notifications/*.{h,mm}", "ios/Reminders/*.{h,mm}"
21+
s.frameworks = "StoreKit", "LocalAuthentication", "EventKit", "CoreLocation", "Photos", "AVFoundation", "Speech", "PhotosUI", "Contacts", "CoreMotion", "AdSupport", "AppTrackingTransparency", "CoreBluetooth", "MediaPlayer", "UserNotifications"
2222

2323
if ENV['RCT_NEW_ARCH_ENABLED'] == "1" then
2424
install_modules_dependencies(s)

RNPermissions.podspec.bak

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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 = "RNPermissions"
7+
8+
s.version = package["version"]
9+
s.license = package["license"]
10+
s.summary = package["description"]
11+
s.author = package["author"]
12+
s.homepage = package["homepage"]
13+
14+
s.platforms = { :ios => "12.4", :tvos => "12.4" }
15+
s.requires_arc = true
16+
17+
s.source = { :git => package["repository"]["url"], :tag => s.version }
18+
s.resource_bundles = { 'RNPermissionsPrivacyInfo' => 'ios/PrivacyInfo.xcprivacy' }
19+
20+
s.source_files = "ios/*.{h,mm}"
21+
# s.frameworks = <frameworks>
22+
23+
if ENV['RCT_NEW_ARCH_ENABLED'] == "1" then
24+
install_modules_dependencies(s)
25+
else
26+
s.dependency "React-Core"
27+
end
28+
end

example/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ ruby ">= 2.6.10"
77
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
88
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
99
gem 'xcodeproj', '< 1.26.0'
10+
gem 'concurrent-ruby', '< 1.3.4'

example/Gemfile.lock

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ GEM
55
base64
66
nkf
77
rexml
8-
activesupport (7.2.2)
8+
activesupport (7.2.2.1)
99
base64
1010
benchmark (>= 0.3)
1111
bigdecimal
@@ -25,7 +25,7 @@ GEM
2525
atomos (0.1.3)
2626
base64 (0.2.0)
2727
benchmark (0.4.0)
28-
bigdecimal (3.1.8)
28+
bigdecimal (3.1.9)
2929
claide (1.1.0)
3030
cocoapods (1.15.2)
3131
addressable (~> 2.8)
@@ -65,31 +65,31 @@ GEM
6565
netrc (~> 0.11)
6666
cocoapods-try (1.2.0)
6767
colored2 (3.1.2)
68-
concurrent-ruby (1.3.4)
69-
connection_pool (2.4.1)
68+
concurrent-ruby (1.3.3)
69+
connection_pool (2.5.0)
7070
drb (2.2.1)
7171
escape (0.0.4)
7272
ethon (0.16.0)
7373
ffi (>= 1.15.0)
74-
ffi (1.17.0)
74+
ffi (1.17.1)
7575
fourflusher (2.3.1)
7676
fuzzy_match (2.0.4)
7777
gh_inspector (1.1.3)
7878
httpclient (2.8.3)
79-
i18n (1.14.6)
79+
i18n (1.14.7)
8080
concurrent-ruby (~> 1.0)
81-
json (2.8.1)
82-
logger (1.6.1)
83-
minitest (5.25.1)
81+
json (2.10.1)
82+
logger (1.6.6)
83+
minitest (5.25.4)
8484
molinillo (0.8.0)
8585
nanaimo (0.3.0)
8686
nap (1.1.0)
8787
netrc (0.11.0)
8888
nkf (0.2.0)
8989
public_suffix (4.0.7)
90-
rexml (3.3.9)
90+
rexml (3.4.1)
9191
ruby-macho (2.5.1)
92-
securerandom (0.3.1)
92+
securerandom (0.4.1)
9393
typhoeus (1.4.1)
9494
ethon (>= 0.9.0)
9595
tzinfo (2.0.6)
@@ -108,6 +108,7 @@ PLATFORMS
108108
DEPENDENCIES
109109
activesupport (>= 6.1.7.5, != 7.1.0)
110110
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
111+
concurrent-ruby (< 1.3.4)
111112
xcodeproj (< 1.26.0)
112113

113114
RUBY VERSION

example/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44
minSdkVersion = 24
55
compileSdkVersion = 35
66
targetSdkVersion = 34
7-
ndkVersion = "26.1.10909125"
8-
kotlinVersion = "1.9.24"
7+
ndkVersion = "27.1.12297006"
8+
kotlinVersion = "2.0.21"
99
}
1010
repositories {
1111
google()

0 commit comments

Comments
 (0)