diff --git a/android/build.gradle b/android/build.gradle index b3bfe61..216dc38 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -11,12 +11,12 @@ buildscript { apply plugin: 'com.android.library' android { - compileSdkVersion 28 - buildToolsVersion "28.0.3" + compileSdkVersion 29 + buildToolsVersion "29.0.2" defaultConfig { - minSdkVersion 16 - compileSdkVersion 28 - targetSdkVersion 28 + minSdkVersion 21 + compileSdkVersion 29 + targetSdkVersion 29 versionCode 1 versionName "0.1" compileOptions { diff --git a/react-native-sodium.podspec b/react-native-sodium.podspec index 09d0023..7330728 100644 --- a/react-native-sodium.podspec +++ b/react-native-sodium.podspec @@ -14,6 +14,7 @@ Pod::Spec.new do |s| s.source = { :git => "https://github.com/lyubo/react-native-sodium.git", :tag => "v#{s.version}" } s.source_files = ["ios/**/*.{h,m}","libsodium/libsodium-ios/**/*.{h,m}"] + s.header_mappings_dir = 'libsodium/libsodium-ios/include' s.vendored_libraries = 'libsodium/libsodium-ios/lib/libsodium.a' s.xcconfig = { 'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/Headers/Public/#{s.name}/**'}