Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
feature: replacing redux with sovran (segmentio#422)
Browse files Browse the repository at this point in the history
* fix: support m1 macs in the example project

* feat: replacing redux with sovran
  • Loading branch information
oscb authored Feb 1, 2022
1 parent 01f71d6 commit 2d69cc1
Show file tree
Hide file tree
Showing 44 changed files with 1,644 additions and 1,616 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
ENABLE_BITCODE = NO;
"EXCLUDED_ARCHS[sdk=*]" = arm64;
INFOPLIST_FILE = AnalyticsReactNativeExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_CFLAGS = (
Expand Down Expand Up @@ -362,6 +363,7 @@
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
"EXCLUDED_ARCHS[sdk=*]" = arm64;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -415,6 +417,7 @@
COPY_PHASE_STRIP = YES;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
"EXCLUDED_ARCHS[sdk=*]" = arm64;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
Expand Down
19 changes: 15 additions & 4 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,20 @@ target 'AnalyticsReactNativeExample' do
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
)

# Pods for AnalyticsReactNativeExample
pod 'segment-analytics-react-native', :path => '../../packages/core'
# Pods for Plugins
pod 'segment-analytics-react-native-plugin-idfa', :path => '../../packages/plugins/plugin-idfa'

# use_flipper!({ 'Flipper' => '0.125.0', 'Flipper-Folly' => '~> 2.6', 'Flipper-RSocket' => '~> 1.4', "Flipper-DoubleConversion" => "1.1.7" })
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["ONLY_ACTIVE_ARCH"] = "NO"
end
end
# flipper_post_install(installer)
end

# Pods for AnalyticsReactNativeExample
pod 'segment-analytics-react-native', :path => '../../packages/core'
# Pods for Plugins
pod 'segment-analytics-react-native-plugin-idfa', :path => '../../packages/plugins/plugin-idfa'
end
Loading

0 comments on commit 2d69cc1

Please sign in to comment.