From e9accb00efb6a45812d7eede73521ee3660318ac Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Mon, 20 Jan 2025 10:34:19 +0300 Subject: [PATCH] updates --- .../whatsapp/WhatsAppCodeActivity.kt | 1 - android/settings.gradle | 2 +- ios/Podfile | 2 +- packages/vital_sign_camera/LICENSE | 1 + .../vital_sign_camera/analysis_options.yaml | 4 + packages/vital_sign_camera/android/gradlew | 0 .../vital_sign_camera/android/gradlew.bat | 178 +++++++++--------- .../VitalSignEngineCore | Bin .../VitalSignObjCFramework | Bin .../VitalSignObjCFramework | Bin 10 files changed, 96 insertions(+), 92 deletions(-) create mode 100644 packages/vital_sign_camera/LICENSE create mode 100644 packages/vital_sign_camera/analysis_options.yaml mode change 100644 => 100755 packages/vital_sign_camera/android/gradlew mode change 100644 => 100755 packages/vital_sign_camera/ios/frameworks/VitalSignEngineCore.xcframework/ios-x86_64-simulator/VitalSignEngineCore.framework/VitalSignEngineCore mode change 100644 => 100755 packages/vital_sign_camera/ios/frameworks/VitalSignObjCFramework.xcframework/ios-arm64/VitalSignObjCFramework.framework/VitalSignObjCFramework mode change 100644 => 100755 packages/vital_sign_camera/ios/frameworks/VitalSignObjCFramework.xcframework/ios-x86_64-simulator/VitalSignObjCFramework.framework/VitalSignObjCFramework diff --git a/android/app/src/main/kotlin/com/cloud/diplomaticquarterapp/whatsapp/WhatsAppCodeActivity.kt b/android/app/src/main/kotlin/com/cloud/diplomaticquarterapp/whatsapp/WhatsAppCodeActivity.kt index 5862b30b..8e86ec97 100644 --- a/android/app/src/main/kotlin/com/cloud/diplomaticquarterapp/whatsapp/WhatsAppCodeActivity.kt +++ b/android/app/src/main/kotlin/com/cloud/diplomaticquarterapp/whatsapp/WhatsAppCodeActivity.kt @@ -11,7 +11,6 @@ class WhatsAppCodeActivity : FlutterFragmentActivity() { super.onCreate(savedInstanceState) WhatsApp.handleOTP(intent){code -> WhatsAppOtpPlatformBridge.result?.success(code); - println("the code is $code") finish() } } diff --git a/android/settings.gradle b/android/settings.gradle index d7a696e3..4c1c588e 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -1,6 +1,6 @@ include ':app' include ':vital-sign-engine' -project(':vital-sign-engine').projectDir = new File('C:\\Users\\taha.alam\\AndroidStudioProjects\\diplomatic-quarter\\packages\\vital_sign_camera\\android\\libs') +project(':vital-sign-engine').projectDir = new File('/Users/mohamedmekawy/Documents/Work/DiplomaticQuarter_3.16/packages/vital_sign_camera/android/libs') def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() diff --git a/ios/Podfile b/ios/Podfile index 7721bb87..dec2c9fd 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -28,7 +28,7 @@ require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelpe flutter_ios_podfile_setup target 'Runner' do - use_frameworks! + use_frameworks! :linkage => :static use_modular_headers! pod 'OpenTok', '~> 2.22.0' diff --git a/packages/vital_sign_camera/LICENSE b/packages/vital_sign_camera/LICENSE new file mode 100644 index 00000000..ba75c69f --- /dev/null +++ b/packages/vital_sign_camera/LICENSE @@ -0,0 +1 @@ +TODO: Add your license here. diff --git a/packages/vital_sign_camera/analysis_options.yaml b/packages/vital_sign_camera/analysis_options.yaml new file mode 100644 index 00000000..a5744c1c --- /dev/null +++ b/packages/vital_sign_camera/analysis_options.yaml @@ -0,0 +1,4 @@ +include: package:flutter_lints/flutter.yaml + +# Additional information about this file can be found at +# https://dart.dev/guides/language/analysis-options diff --git a/packages/vital_sign_camera/android/gradlew b/packages/vital_sign_camera/android/gradlew old mode 100644 new mode 100755 diff --git a/packages/vital_sign_camera/android/gradlew.bat b/packages/vital_sign_camera/android/gradlew.bat index 107acd32..ac1b06f9 100644 --- a/packages/vital_sign_camera/android/gradlew.bat +++ b/packages/vital_sign_camera/android/gradlew.bat @@ -1,89 +1,89 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem - -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto execute - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/packages/vital_sign_camera/ios/frameworks/VitalSignEngineCore.xcframework/ios-x86_64-simulator/VitalSignEngineCore.framework/VitalSignEngineCore b/packages/vital_sign_camera/ios/frameworks/VitalSignEngineCore.xcframework/ios-x86_64-simulator/VitalSignEngineCore.framework/VitalSignEngineCore old mode 100644 new mode 100755 diff --git a/packages/vital_sign_camera/ios/frameworks/VitalSignObjCFramework.xcframework/ios-arm64/VitalSignObjCFramework.framework/VitalSignObjCFramework b/packages/vital_sign_camera/ios/frameworks/VitalSignObjCFramework.xcframework/ios-arm64/VitalSignObjCFramework.framework/VitalSignObjCFramework old mode 100644 new mode 100755 diff --git a/packages/vital_sign_camera/ios/frameworks/VitalSignObjCFramework.xcframework/ios-x86_64-simulator/VitalSignObjCFramework.framework/VitalSignObjCFramework b/packages/vital_sign_camera/ios/frameworks/VitalSignObjCFramework.xcframework/ios-x86_64-simulator/VitalSignObjCFramework.framework/VitalSignObjCFramework old mode 100644 new mode 100755