Created
December 13, 2020 20:25
-
-
Save arnaudambro/ce925a5aef594dc25ec172a4aab47eb4 to your computer and use it in GitHub Desktop.
Podfile for asking push notifications permission
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | |
target 'le_gratin' do | |
config = use_native_modules! | |
permissions_path = '../node_modules/react-native-permissions/ios' | |
pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications.podspec" | |
use_react_native!(:path => config["reactNativePath"]) | |
target 'le_gratinTests' do | |
inherit! :complete | |
# Pods for testing | |
end | |
# Enables Flipper. | |
# | |
# Note that if you have use_frameworks! enabled, Flipper will not work and | |
# you should disable these next few lines. | |
use_flipper! | |
post_install do |installer| | |
flipper_post_install(installer) | |
end | |
end | |
target 'le_gratin-tvOS' do | |
# Pods for le_gratin-tvOS | |
target 'le_gratin-tvOSTests' do | |
inherit! :search_paths | |
# Pods for testing | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment