mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-29 11:12:18 +03:00
fixed build issues related to m1 build
This commit is contained in:
parent
75e00bf1d6
commit
0e772ca960
File diff suppressed because one or more lines are too long
@ -15,6 +15,14 @@ target 'Ecency' do
|
||||
# Pods for testing
|
||||
end
|
||||
|
||||
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
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
target 'Ecency-tvOS' do
|
||||
|
@ -770,6 +770,6 @@ SPEC CHECKSUMS:
|
||||
toolbar-android: 85f3ef4d691469f2d304e7dee4bca013aa1ba1ff
|
||||
Yoga: 4bd86afe9883422a7c4028c00e34790f560923d6
|
||||
|
||||
PODFILE CHECKSUM: e501f03ccf39df92114b6313802f6395715550c3
|
||||
PODFILE CHECKSUM: 9c48318ea254e2c78005a7a0c2d8bfc14ddd783d
|
||||
|
||||
COCOAPODS: 1.10.1
|
||||
COCOAPODS: 1.10.2
|
||||
|
@ -197,6 +197,7 @@ class ApplicationContainer extends Component {
|
||||
);
|
||||
|
||||
// tracking init
|
||||
if (!__DEV__) {
|
||||
Matomo.initialize(Config.ANALYTICS_URL, 1, 'https://ecency.com')
|
||||
.catch((error) => console.warn('Failed to initialize matomo', error))
|
||||
.then(() => {
|
||||
@ -204,21 +205,13 @@ class ApplicationContainer extends Component {
|
||||
dispatch(setAnalyticsStatus(true));
|
||||
}
|
||||
})
|
||||
/*.then(() => {
|
||||
uniqueId()
|
||||
.then(async (id) => {
|
||||
await Matomo.setUserId(id).catch((error) =>
|
||||
console.warn('Error setting user id', error),
|
||||
);
|
||||
})
|
||||
.catch((error) => console.error(error));
|
||||
})*/
|
||||
.then(() => {
|
||||
// start up event
|
||||
Matomo.trackEvent('Application', 'Startup').catch((error) =>
|
||||
console.warn('Failed to track event', error),
|
||||
);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
componentDidUpdate(prevProps, prevState) {
|
||||
|
Loading…
Reference in New Issue
Block a user