Skip to content

Commit

Permalink
feat: add iOS library
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Sotelo committed Dec 7, 2021
1 parent 8e3e0b7 commit 20f45fd
Show file tree
Hide file tree
Showing 18 changed files with 6,636 additions and 1,613 deletions.
21 changes: 15 additions & 6 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,30 @@
use_frameworks!

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'
platform :ios, '11.0'

target 'SipExample' do
config = use_native_modules!

use_react_native!(:path => config["reactNativePath"])

pod 'react-native-sip-phone', :path => '../..'
pod 'linphone-sdk', :podspec => "../linphone-sdk.podspec"

use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
)

# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable these next few lines.
use_flipper!({ 'Flipper' => '0.80.0' })
# you should disable the next line.
# use_flipper!()

post_install do |installer|
flipper_post_install(installer)
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
end
Loading

0 comments on commit 20f45fd

Please sign in to comment.