Closed sam-houle1 closed 3 months ago
@sam-houle1 Hello, Could you send me package.json, package.lock and Podfile?
"name": "ActivixCRM",
"version": "3.31.0",
"private": true,
"scripts": {
"start": "react-native start --reset-cache",
"android": "npm run android:debug",
"android:debug": "npm run cc && react-native run-android --variant=debug",
"android:release": "react-native run-android --variant=release",
"android:bundleRelease": "npm run android:bundle && npm run android:release",
"ios": "npm run ios:debug",
"ios:debug": "npm run cc && react-native run-ios --scheme Debug",
"flipper": "npm run tron && npm run devtool",
"tron": "adb reverse tcp:9090 tcp:9090",
"devtool": "adb reverse tcp:8097 tcp:8097",
"ios:record": "xcrun simctl io booted recordVideo ~/Desktop/activix-crm-ios.mp4",
"android:bundle": "cd android && ./gradlew bundleRelease && cd ..",
"android:record": "adb shell screenrecord /sdcard/activix-crm-android.mp4",
"android:pull": "adb pull /sdcard/activix-crm-mobile.mp4 ~/Desktop/activix-crm-android.mp4",
"android:clean": "cd ./android && ./gradlew clean && cd ..",
"rn:install": "npm install && npx pod-install",
"rn:reinstall": "npm run remove && npm run rn:install && npm run android:clean",
"remove": "rm -rf node_modules/* && cd ./ios && rm -rf Podfile.lock",
"cc": "rm -rf node_modules/.cache/babel-loader/*",
"lint": "eslint .",
"lint:fix": "eslint . --fix --ext .js,.jsx",
"lint:dev": "esw . --watch --fix --clear --ext .js,.jsx",
"lint:watch": "esw app/** -w --changed --ext .js,.jsx",
"test": "jest"
},
"dependencies": {
"@formatjs/intl-datetimeformat": "^6.4.3",
"@formatjs/intl-getcanonicallocales": "^2.0.5",
"@formatjs/intl-locale": "^3.0.11",
"@formatjs/intl-numberformat": "^8.3.3",
"@formatjs/intl-pluralrules": "^5.0.8",
"@gorhom/bottom-sheet": "4.4.5",
"@notifee/react-native": "5.3.0",
"@optimizely/optimizely-sdk": "^4.9.2",
"@react-native-async-storage/async-storage": "^1.17.11",
"@react-native-camera-roll/camera-roll": "^5.0.4",
"@react-native-community/clipboard": "^1.5.1",
"@react-native-community/datetimepicker": "^6.7.1",
"@react-native-community/netinfo": "^9.3.7",
"@react-native-firebase/app": "16.5.2",
"@react-native-firebase/messaging": "16.5.2",
"@sentry/react-native": "^4.14.0",
"axios": "^0.21.1",
"axios-retry": "^3.3.1",
"cmbsdk-react-native": "^1.1.0",
"crypto-js": "^4.1.1",
"date-fns": "^2.23.0",
"date-fns-tz": "^1.1.6",
"deepmerge": "^4.2.2",
"emoji-toolkit": "^5.5.0",
"fbjs": "^3.0.4",
"i18n-js": "^3.8.0",
"immutability-helper": "^3.1.1",
"jwt-decode": "^3.1.2",
"libphonenumber-js": "^1.10.15",
"lodash": "^4.17.20",
"polished": "^4.2.2",
"prop-types": "^15.8.1",
"pusher-js": "^7.0.3",
"qs": "^6.11.0",
"react": "18.0.0",
"react-native": "^0.69.7",
"react-native-animatable": "^1.3.3",
"react-native-audio-recorder-player": "^3.5.3",
"react-native-auth0": "2.17.1",
"react-native-display": "^1.0.8",
"react-native-dotenv": "^0.2.0",
"react-native-event-listeners": "^1.0.7",
"react-native-flipper": "0.164.0",
"react-native-flipper-performance-plugin": "^0.3.1",
"react-native-fs": "^2.20.0",
"react-native-gesture-handler": "^2.8.0",
"react-native-image-pan-zoom": "^2.1.12",
"react-native-image-picker": "^4.10.1",
"react-native-image-resizer": "^1.2.1",
"react-native-indicators": "^0.17.0",
"react-native-keyboard-manager": "^6.5.4-5",
"react-native-linear-gradient": "^2.6.2",
"react-native-masked-text": "^1.12.5",
"react-native-navigation": "^7.27.1",
"react-native-pell-rich-editor": "^1.8.8",
"react-native-progress": "^5.0.0",
"react-native-reanimated": "2.13.0",
"react-native-section-list-get-item-layout": "^2.2.3",
"react-native-splash-screen": "3.3.0",
"react-native-status-bar-height": "^2.6.0",
"react-native-svg": "^12.1.0",
"react-native-tailwindcss": "^1.1.11",
"react-native-track-player": "^2.1.4",
"react-native-version-number": "^0.3.6",
"react-native-video": "^5.2.1",
"react-native-vision-camera": "^2.15.2",
"react-native-webview": "^11.13.0",
"react-native-ziggeo-library": "1.6.24",
"react-redux": "^7.2.4",
"redux-thunk": "^2.3.0",
"rn-fetch-blob": "^0.12.0",
"rn-tooltip": "^3.0.3",
"slugify": "^1.6.0"
},
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/eslint-parser": "^7.19.1",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^3.2.0",
"@types/react-native": "^0.70.8",
"babel-eslint": "^10.0.3",
"babel-jest": "^29.3.1",
"eslint": "^8.30.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"eslint-watch": "^8.0.0",
"jest": "^29.3.1",
"metro-react-native-babel-preset": "^0.74.0",
"prettier": "^2.8.4",
"prettier-eslint": "^15.0.1",
"react-native-config": "^1.4.3",
"react-test-renderer": "18.0.0",
"redux-devtools-extension": "^2.13.8",
"redux-flipper": "^1.4.2"
},
"jest": {
"preset": "react-native"
}
}
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '12.4'
install! 'cocoapods', :deterministic_uuids => false
production = ENV["PRODUCTION"] == "1"
target 'ActivixCRM' do
config = use_native_modules!
# Flags change depending on the env values.
flags = get_default_flags()
# Ziggeo dependency issue https://github.com/Ziggeo/ReactNativeSDK/issues/75
pod 'ZiggeoMediaSDK', :git => 'https://github.com/Ziggeo/iOS-Client-SDK.git'
pod 'GoogleUtilities', :modular_headers => true
pod 'FirebaseCore', :modular_headers => true
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:production => production,
:hermes_enabled => flags[:hermes_enabled],
:fabric_enabled => flags[:fabric_enabled],
:flipper_configuration => FlipperConfiguration.enabled(["Debug"], { 'Flipper' => '0.182.0' }),
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
target 'ActivixCRMTests' do
inherit! :complete
# Pods for testing
end
deployment_target = '12.0'
post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
flipper_post_install(installer)
installer.target_installation_results.pod_target_installation_results
.each do |pod_name, target_installation_result|
target_installation_result.resource_bundle_targets.each do |resource_bundle_target|
resource_bundle_target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = deployment_target
end
end
project.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = deployment_target
end
end
end
end
How should I send you my package-lock.json, since I can't paste it in github ?
ActivixCRM.zip I tried the app using the package and podfile you sent, and it was builded successful.
I will upload new version 1.1.40 in this week.
Hello, @sam-houle1
Please check on current version 1.6.26
.
@katolykdev not working right now because of : https://github.com/Ziggeo/ReactNativeSDK/issues/110
But I also have this error:
/Users/samuelhoule/Web/Activix/activix-crm-mobile/node_modules/react-native-ziggeo-library/ios/Recorder/ZiggeoRecorderContext.h:17:44 No type or protocol named 'ZiggeoDelegate'
Building for iOS Simulator, but linking in dylib built for iOS, file '/Users/samuelhoule/Web/Activix/activix-crm-mobile/ios/Pods/ZiggeoMediaSDK/Frameworks/ZiggeoMediaSDK.framework/ZiggeoMediaSDK' for architecture arm64
When I try to open the simulator I have this error.