├── ios ├── simple.c ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ └── AppFrameworkInfo.plist ├── Runner │ ├── Runner-Bridging-Header.h │ ├── Assets.xcassets │ │ ├── LaunchImage.imageset │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ ├── README.md │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ ├── Info.plist │ └── FLPlatformView.swift ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── WorkspaceSettings.xcsettings │ │ └── IDEWorkspaceChecks.plist └── .gitignore ├── android ├── app │ ├── .cxx │ │ ├── cmake │ │ │ └── debug │ │ │ │ ├── x86 │ │ │ │ ├── android_gradle_build_simple_x86.stderr.txt │ │ │ │ ├── prefab_config.json │ │ │ │ ├── CMakeFiles │ │ │ │ │ ├── cmake.check_cache │ │ │ │ │ ├── feature_tests.bin │ │ │ │ │ ├── 3.10.2 │ │ │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ │ │ ├── CMakeSystem.cmake │ │ │ │ │ │ ├── CMakeCCompiler.cmake │ │ │ │ │ │ └── CMakeCXXCompiler.cmake │ │ │ │ │ ├── simple.dir │ │ │ │ │ │ └── Users │ │ │ │ │ │ │ └── Aleksandr_Denisov │ │ │ │ │ │ │ └── Work │ │ │ │ │ │ │ └── workshops │ │ │ │ │ │ │ └── integrations │ │ │ │ │ │ │ └── src │ │ │ │ │ │ │ └── simple.c.o │ │ │ │ │ ├── TargetDirectories.txt │ │ │ │ │ └── feature_tests.c │ │ │ │ ├── .ninja_deps │ │ │ │ ├── android_gradle_build_simple_x86.stdout.txt │ │ │ │ ├── android_gradle_build_simple_x86.command.txt │ │ │ │ ├── .ninja_log │ │ │ │ ├── build_output.txt │ │ │ │ ├── compile_commands.json │ │ │ │ ├── build_command.txt │ │ │ │ ├── android_gradle_build_mini.json │ │ │ │ ├── cmake_install.cmake │ │ │ │ ├── json_generation_record.json │ │ │ │ ├── android_gradle_build.json │ │ │ │ └── rules.ninja │ │ │ │ ├── x86_64 │ │ │ │ ├── android_gradle_build_simple_x86_64.stderr.txt │ │ │ │ ├── prefab_config.json │ │ │ │ ├── CMakeFiles │ │ │ │ │ ├── cmake.check_cache │ │ │ │ │ ├── feature_tests.bin │ │ │ │ │ ├── 3.10.2 │ │ │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ │ │ ├── CMakeSystem.cmake │ │ │ │ │ │ ├── CMakeCCompiler.cmake │ │ │ │ │ │ └── CMakeCXXCompiler.cmake │ │ │ │ │ ├── simple.dir │ │ │ │ │ │ └── Users │ │ │ │ │ │ │ └── Aleksandr_Denisov │ │ │ │ │ │ │ └── Work │ │ │ │ │ │ │ └── workshops │ │ │ │ │ │ │ └── integrations │ │ │ │ │ │ │ └── src │ │ │ │ │ │ │ └── simple.c.o │ │ │ │ │ ├── TargetDirectories.txt │ │ │ │ │ └── feature_tests.c │ │ │ │ ├── .ninja_deps │ │ │ │ ├── android_gradle_build_simple_x86_64.stdout.txt │ │ │ │ ├── android_gradle_build_simple_x86_64.command.txt │ │ │ │ ├── .ninja_log │ │ │ │ ├── build_output.txt │ │ │ │ ├── compile_commands.json │ │ │ │ ├── build_command.txt │ │ │ │ ├── android_gradle_build_mini.json │ │ │ │ ├── cmake_install.cmake │ │ │ │ ├── json_generation_record.json │ │ │ │ ├── android_gradle_build.json │ │ │ │ └── rules.ninja │ │ │ │ ├── arm64-v8a │ │ │ │ ├── android_gradle_build_simple_arm64-v8a.stderr.txt │ │ │ │ ├── prefab_config.json │ │ │ │ ├── CMakeFiles │ │ │ │ │ ├── cmake.check_cache │ │ │ │ │ ├── feature_tests.bin │ │ │ │ │ ├── 3.10.2 │ │ │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ │ │ ├── CMakeSystem.cmake │ │ │ │ │ │ └── CMakeCCompiler.cmake │ │ │ │ │ ├── simple.dir │ │ │ │ │ │ └── Users │ │ │ │ │ │ │ └── Aleksandr_Denisov │ │ │ │ │ │ │ └── Work │ │ │ │ │ │ │ └── workshops │ │ │ │ │ │ │ └── integrations │ │ │ │ │ │ │ └── src │ │ │ │ │ │ │ └── simple.c.o │ │ │ │ │ ├── TargetDirectories.txt │ │ │ │ │ └── feature_tests.c │ │ │ │ ├── .ninja_deps │ │ │ │ ├── android_gradle_build_simple_arm64-v8a.stdout.txt │ │ │ │ ├── android_gradle_build_simple_arm64-v8a.command.txt │ │ │ │ ├── .ninja_log │ │ │ │ ├── build_output.txt │ │ │ │ ├── compile_commands.json │ │ │ │ ├── build_command.txt │ │ │ │ ├── android_gradle_build_mini.json │ │ │ │ ├── cmake_install.cmake │ │ │ │ ├── json_generation_record.json │ │ │ │ ├── android_gradle_build.json │ │ │ │ └── rules.ninja │ │ │ │ └── armeabi-v7a │ │ │ │ ├── android_gradle_build_simple_armeabi-v7a.stderr.txt │ │ │ │ ├── prefab_config.json │ │ │ │ ├── CMakeFiles │ │ │ │ ├── cmake.check_cache │ │ │ │ ├── feature_tests.bin │ │ │ │ ├── 3.10.2 │ │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ │ ├── CMakeSystem.cmake │ │ │ │ │ ├── CMakeCCompiler.cmake │ │ │ │ │ └── CMakeCXXCompiler.cmake │ │ │ │ ├── simple.dir │ │ │ │ │ └── Users │ │ │ │ │ │ └── Aleksandr_Denisov │ │ │ │ │ │ └── Work │ │ │ │ │ │ └── workshops │ │ │ │ │ │ └── integrations │ │ │ │ │ │ └── src │ │ │ │ │ │ └── simple.c.o │ │ │ │ ├── TargetDirectories.txt │ │ │ │ └── feature_tests.c │ │ │ │ ├── .ninja_deps │ │ │ │ ├── android_gradle_build_simple_armeabi-v7a.stdout.txt │ │ │ │ ├── android_gradle_build_simple_armeabi-v7a.command.txt │ │ │ │ ├── .ninja_log │ │ │ │ ├── build_output.txt │ │ │ │ ├── compile_commands.json │ │ │ │ ├── build_command.txt │ │ │ │ ├── android_gradle_build_mini.json │ │ │ │ ├── cmake_install.cmake │ │ │ │ ├── json_generation_record.json │ │ │ │ ├── android_gradle_build.json │ │ │ │ └── rules.ninja │ │ ├── ndk_locator_record_1z2ez146_key.json │ │ ├── ndk_locator_record_96p2h213_key.json │ │ ├── abi_configuration_54116u2d.json │ │ ├── ndk_locator_record_1z2ez146.json │ │ ├── ndk_locator_record_96p2h213.json │ │ └── abi_configuration_54116u2d_key.json │ ├── CMakeLists.txt │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── drawable-nodpi │ │ │ │ │ └── example_appwidget_preview.png │ │ │ │ ├── values │ │ │ │ │ ├── strings.xml │ │ │ │ │ ├── attrs.xml │ │ │ │ │ ├── colors.xml │ │ │ │ │ ├── themes.xml │ │ │ │ │ ├── dimens.xml │ │ │ │ │ └── styles.xml │ │ │ │ ├── values-night │ │ │ │ │ ├── themes.xml │ │ │ │ │ └── styles.xml │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ └── drawable-v21 │ │ │ │ │ └── launch_background.xml │ │ │ ├── kotlin │ │ │ │ └── dev │ │ │ │ │ └── gdg │ │ │ │ │ └── integrations │ │ │ │ │ ├── AndroidButtonViewFactory.kt │ │ │ │ │ ├── AndroidButtonView.kt │ │ │ │ │ └── MainActivity.kt │ │ │ └── AndroidManifest.xml │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ └── profile │ │ │ └── AndroidManifest.xml │ └── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle └── build.gradle ├── macos ├── Flutter │ ├── Flutter-Debug.xcconfig │ ├── Flutter-Release.xcconfig │ └── GeneratedPluginRegistrant.swift ├── Runner │ ├── Configs │ │ ├── Debug.xcconfig │ │ ├── Release.xcconfig │ │ ├── Warnings.xcconfig │ │ └── AppInfo.xcconfig │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ ├── app_icon_16.png │ │ │ ├── app_icon_32.png │ │ │ ├── app_icon_64.png │ │ │ ├── app_icon_1024.png │ │ │ ├── app_icon_128.png │ │ │ ├── app_icon_256.png │ │ │ ├── app_icon_512.png │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Release.entitlements │ ├── DebugProfile.entitlements │ ├── MainFlutterWindow.swift │ └── Info.plist ├── .gitignore ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── Runner.xcodeproj │ ├── project.xcworkspace │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ └── xcschemes │ └── Runner.xcscheme ├── web ├── favicon.png ├── icons │ ├── Icon-192.png │ ├── Icon-512.png │ ├── Icon-maskable-192.png │ └── Icon-maskable-512.png ├── manifest.json ├── interop.js └── index.html ├── src └── random.c ├── lib ├── platform │ ├── dummy │ │ ├── dummy_service.dart │ │ └── platform_view_dummy.dart │ ├── service.dart │ ├── web │ │ ├── web_service.dart │ │ ├── platform_view_web.dart │ │ └── web_interop.dart │ └── mobile │ │ ├── mobile_service.dart │ │ └── platform_view_mobile.dart ├── ffi_bridge.dart └── main.dart ├── .idea └── flutter_integrations.iml ├── README.md ├── analysis_options.yaml ├── pubspec.yaml └── pubspec.lock /ios/simple.c: -------------------------------------------------------------------------------- 1 | int get_value() 2 | { 3 | return 100; 4 | } -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/android_gradle_build_simple_x86.stderr.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/android_gradle_build_simple_x86_64.stderr.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/android_gradle_build_simple_arm64-v8a.stderr.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "ephemeral/Flutter-Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/android_gradle_build_simple_armeabi-v7a.stderr.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "ephemeral/Flutter-Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/web/favicon.png -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/prefab_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "enabled": false, 3 | "packages": [] 4 | } -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/prefab_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "enabled": false, 3 | "packages": [] 4 | } -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/prefab_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "enabled": false, 3 | "packages": [] 4 | } -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/prefab_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "enabled": false, 3 | "packages": [] 4 | } -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/web/icons/Icon-512.png -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /web/icons/Icon-maskable-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/web/icons/Icon-maskable-192.png -------------------------------------------------------------------------------- /web/icons/Icon-maskable-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/web/icons/Icon-maskable-512.png -------------------------------------------------------------------------------- /macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/dgph 7 | **/xcuserdata/ 8 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/x86/.ninja_deps -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/x86_64/.ninja_deps -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/arm64-v8a/.ninja_deps -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/armeabi-v7a/.ninja_deps -------------------------------------------------------------------------------- /android/app/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library( 4 | random 5 | SHARED 6 | ../../src/random.c 7 | ) -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/x86/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/x86_64/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /android/app/.cxx/ndk_locator_record_1z2ez146_key.json: -------------------------------------------------------------------------------- 1 | { 2 | "sdkFolder": "/Users/Aleksandr_Denisov/Library/Android/sdk", 3 | "sideBySideNdkFolderNames": [ 4 | "23.1.7779620" 5 | ] 6 | } -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-nodpi/example_appwidget_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/src/main/res/drawable-nodpi/example_appwidget_preview.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /src/random.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int get_value() 5 | { 6 | srand(time(NULL)); // Initialization, should only be called once. 7 | int r = rand() % 500; 8 | return r; 9 | } -------------------------------------------------------------------------------- /android/app/.cxx/ndk_locator_record_96p2h213_key.json: -------------------------------------------------------------------------------- 1 | { 2 | "sdkFolder": "/Users/Aleksandr_Denisov/Library/Android/sdk", 3 | "sideBySideNdkFolderNames": [ 4 | "21.1.6352462", 5 | "23.1.7779620" 6 | ] 7 | } -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/android_gradle_build_simple_x86.stdout.txt: -------------------------------------------------------------------------------- 1 | ninja: Entering directory `/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86' 2 | ninja: no work to do. 3 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | EXAMPLE 4 | Add widget 5 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/android_gradle_build_simple_x86_64.stdout.txt: -------------------------------------------------------------------------------- 1 | ninja: Entering directory `/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64' 2 | ninja: no work to do. 3 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/android_gradle_build_simple_arm64-v8a.stdout.txt: -------------------------------------------------------------------------------- 1 | ninja: Entering directory `/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a' 2 | ninja: no work to do. 3 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/x86_64/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/android_gradle_build_simple_armeabi-v7a.stdout.txt: -------------------------------------------------------------------------------- 1 | ninja: Entering directory `/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a' 2 | ninja: no work to do. 3 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/x86_64/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | 9 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 10 | } 11 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /android/app/.cxx/abi_configuration_54116u2d.json: -------------------------------------------------------------------------------- 1 | { 2 | "allAbis": [ 3 | "armeabi-v7a", 4 | "arm64-v8a", 5 | "x86", 6 | "x86_64" 7 | ], 8 | "validAbis": [ 9 | "ARMEABI_V7A", 10 | "ARM64_V8A", 11 | "X86", 12 | "X86_64" 13 | ] 14 | } -------------------------------------------------------------------------------- /android/app/src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | #FFE1F5FE 3 | #FF81D4FA 4 | #FF039BE5 5 | #FF01579B 6 | -------------------------------------------------------------------------------- /macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @NSApplicationMain 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip 7 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/x86/CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o -------------------------------------------------------------------------------- /macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/android_gradle_build_simple_x86.command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja 2 | arguments : 3 | -C 4 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86 5 | simple 6 | jvmArgs : 7 | 8 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/x86_64/CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o -------------------------------------------------------------------------------- /android/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/android_gradle_build_simple_x86_64.command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja 2 | arguments : 3 | -C 4 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64 5 | simple 6 | jvmArgs : 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenisovAV/flutter_integrations/HEAD/android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/android_gradle_build_simple_arm64-v8a.command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja 2 | arguments : 3 | -C 4 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a 5 | simple 6 | jvmArgs : 7 | 8 | -------------------------------------------------------------------------------- /android/app/.cxx/ndk_locator_record_1z2ez146.json: -------------------------------------------------------------------------------- 1 | { 2 | "ndk": "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462", 3 | "revision": { 4 | "mMajor": 21, 5 | "mMinor": 1, 6 | "mMicro": 6352462, 7 | "mPreview": 0, 8 | "mPrecision": "MICRO", 9 | "mPreviewSeparator": " " 10 | } 11 | } -------------------------------------------------------------------------------- /android/app/.cxx/ndk_locator_record_96p2h213.json: -------------------------------------------------------------------------------- 1 | { 2 | "ndk": "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462", 3 | "revision": { 4 | "mMajor": 21, 5 | "mMinor": 1, 6 | "mMicro": 6352462, 7 | "mPreview": 0, 8 | "mPrecision": "MICRO", 9 | "mPreviewSeparator": " " 10 | } 11 | } -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/android_gradle_build_simple_armeabi-v7a.command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja 2 | arguments : 3 | -C 4 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a 5 | simple 6 | jvmArgs : 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 0dp 9 | 10 | -------------------------------------------------------------------------------- /macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lib/platform/dummy/dummy_service.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_integrations/platform/service.dart'; 2 | 3 | class PlatformServiceImpl implements PlatformService { 4 | @override 5 | int getValue() { 6 | return 10; 7 | } 8 | 9 | @override 10 | Stream getStream() => Stream.periodic(const Duration(seconds: 3), (i) => i * 50); 11 | } 12 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /lib/platform/service.dart: -------------------------------------------------------------------------------- 1 | import 'dummy/dummy_service.dart' 2 | if (dart.library.html) 'web/web_service.dart' 3 | if (dart.library.io) 'mobile/mobile_service.dart'; 4 | 5 | abstract class PlatformService { 6 | int getValue(); 7 | 8 | Stream getStream(); 9 | } 10 | 11 | PlatformService getService() { 12 | return PlatformServiceImpl(); 13 | } 14 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86/CMakeFiles/rebuild_cache.dir 2 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86/CMakeFiles/edit_cache.dir 3 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86/CMakeFiles/simple.dir 4 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64/CMakeFiles/rebuild_cache.dir 2 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64/CMakeFiles/edit_cache.dir 3 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64/CMakeFiles/simple.dir 4 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/rebuild_cache.dir 2 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/edit_cache.dir 3 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/simple.dir 4 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/rebuild_cache.dir 2 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/edit_cache.dir 3 | /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/simple.dir 4 | -------------------------------------------------------------------------------- /macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-jit 8 | 9 | com.apple.security.network.server 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/.cxx/abi_configuration_54116u2d_key.json: -------------------------------------------------------------------------------- 1 | { 2 | "ndkHandlerSupportedAbis": [ 3 | "ARMEABI_V7A", 4 | "ARM64_V8A", 5 | "X86", 6 | "X86_64" 7 | ], 8 | "ndkHandlerDefaultAbis": [ 9 | "ARMEABI_V7A", 10 | "ARM64_V8A", 11 | "X86", 12 | "X86_64" 13 | ], 14 | "externalNativeBuildAbiFilters": [], 15 | "ndkConfigAbiFilters": [], 16 | "splitsFilterAbis": [], 17 | "ideBuildOnlyTargetAbi": true 18 | } -------------------------------------------------------------------------------- /lib/platform/web/web_service.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_integrations/platform/service.dart'; 2 | import 'package:flutter_integrations/platform/web/web_interop.dart'; 3 | 4 | class PlatformServiceImpl implements PlatformService { 5 | final _manager = InteropManager(); 6 | 7 | @override 8 | int getValue() { 9 | return _manager.getValueFromJs(); 10 | } 11 | 12 | @override 13 | Stream getStream() => _manager.buttonClicked; 14 | } 15 | -------------------------------------------------------------------------------- /lib/platform/dummy/platform_view_dummy.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class PlatformWidget extends StatelessWidget { 4 | final bool hybridComposition; 5 | 6 | const PlatformWidget({Key? key, required this.hybridComposition}) : super(key: key); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | return const SizedBox( 11 | height: 20, 12 | width: 200, 13 | child: Text('Platform is not supported'), 14 | ); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController.init() 7 | let windowFrame = self.frame 8 | self.contentViewController = flutterViewController 9 | self.setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /lib/ffi_bridge.dart: -------------------------------------------------------------------------------- 1 | import 'dart:ffi'; 2 | import 'dart:io'; 3 | 4 | typedef SimpleFunction = Int16 Function(); 5 | typedef SimpleFunctionDart = int Function(); 6 | 7 | class FFIBridge { 8 | late SimpleFunctionDart _getRandomValue; 9 | 10 | FFIBridge() { 11 | final dl = Platform.isAndroid ? DynamicLibrary.open('librandom.so') : DynamicLibrary.process(); 12 | _getRandomValue = dl.lookupFunction('get_value'); 13 | } 14 | 15 | int getCValue() => _getRandomValue(); 16 | } 17 | -------------------------------------------------------------------------------- /.idea/flutter_integrations.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Darwin-20.6.0") 2 | set(CMAKE_HOST_SYSTEM_NAME "Darwin") 3 | set(CMAKE_HOST_SYSTEM_VERSION "20.6.0") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") 5 | 6 | include("/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-1") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "1") 11 | set(CMAKE_SYSTEM_PROCESSOR "i686") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/CMakeFiles/3.10.2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Darwin-20.6.0") 2 | set(CMAKE_HOST_SYSTEM_NAME "Darwin") 3 | set(CMAKE_HOST_SYSTEM_VERSION "20.6.0") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") 5 | 6 | include("/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-1") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "1") 11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/3.10.2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Darwin-20.6.0") 2 | set(CMAKE_HOST_SYSTEM_NAME "Darwin") 3 | set(CMAKE_HOST_SYSTEM_VERSION "20.6.0") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") 5 | 6 | include("/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-1") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "1") 11 | set(CMAKE_SYSTEM_PROCESSOR "aarch64") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/.ninja_log: -------------------------------------------------------------------------------- 1 | # ninja log v5 2 | 0 48 1634990292 CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o bc93b45f3f447dc0 3 | 48 784 1634990293 /Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/x86/libsimple.so de829454373338ac 4 | 0 52 1634990703 CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o bc93b45f3f447dc0 5 | 52 129 1634990703 /Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/x86/libsimple.so de829454373338ac 6 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Darwin-20.6.0") 2 | set(CMAKE_HOST_SYSTEM_NAME "Darwin") 3 | set(CMAKE_HOST_SYSTEM_VERSION "20.6.0") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") 5 | 6 | include("/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-1") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "1") 11 | set(CMAKE_SYSTEM_PROCESSOR "armv7-a") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/.ninja_log: -------------------------------------------------------------------------------- 1 | # ninja log v5 2 | 0 48 1634990293 CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o de814c777bf55165 3 | 49 90 1634990293 /Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/x86_64/libsimple.so 5b8f3f4a0309e0af 4 | 0 51 1634990703 CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o de814c777bf55165 5 | 51 114 1634990703 /Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/x86_64/libsimple.so 5b8f3f4a0309e0af 6 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/.ninja_log: -------------------------------------------------------------------------------- 1 | # ninja log v5 2 | 0 52 1634990292 CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o 98249c04d7123b89 3 | 52 99 1634990292 /Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/arm64-v8a/libsimple.so b2a59598b090fee8 4 | 0 48 1634990703 CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o 98249c04d7123b89 5 | 48 102 1634990703 /Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/arm64-v8a/libsimple.so b2a59598b090fee8 6 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/.ninja_log: -------------------------------------------------------------------------------- 1 | # ninja log v5 2 | 0 47 1634990292 CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o 20a70f8ee182c6e9 3 | 47 90 1634990292 /Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/armeabi-v7a/libsimple.so 542aa017aa107124 4 | 0 220 1634990703 CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o 20a70f8ee182c6e9 5 | 220 293 1634990703 /Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/armeabi-v7a/libsimple.so 542aa017aa107124 6 | -------------------------------------------------------------------------------- /macos/Runner/Configs/Warnings.xcconfig: -------------------------------------------------------------------------------- 1 | WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings 2 | GCC_WARN_UNDECLARED_SELECTOR = YES 3 | CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES 4 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE 5 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES 6 | CLANG_WARN_PRAGMA_PACK = YES 7 | CLANG_WARN_STRICT_PROTOTYPES = YES 8 | CLANG_WARN_COMMA = YES 9 | GCC_WARN_STRICT_SELECTOR_MATCH = YES 10 | CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES 11 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES 12 | GCC_WARN_SHADOW = YES 13 | CLANG_WARN_UNREACHABLE_CODE = YES 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # flutter_integrations 2 | The repository with sample of all possible Flutter integrations with platform 3 | 4 | ## Getting Started 5 | 6 | This project is a starting point for a Flutter application. 7 | 8 | A few resources to get you started if this is your first Flutter project: 9 | 10 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) 11 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) 12 | 13 | For help getting started with Flutter, view our 14 | [online documentation](https://flutter.dev/docs), which offers tutorials, 15 | samples, guidance on mobile development, and a full API reference. 16 | -------------------------------------------------------------------------------- /lib/platform/web/platform_view_web.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class PlatformWidget extends StatelessWidget { 4 | 5 | final bool hybridComposition; 6 | 7 | const PlatformWidget({Key? key, required this.hybridComposition}) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return SizedBox( 12 | height: 50, 13 | width: 200, 14 | child: HtmlElementView( 15 | viewType: 'web-button', 16 | onPlatformViewCreated: _onPlatformViewCreated, 17 | ), 18 | ); 19 | } 20 | 21 | void _onPlatformViewCreated(int id) { 22 | print('PlaformView with id:$id created'); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /macos/Runner/Configs/AppInfo.xcconfig: -------------------------------------------------------------------------------- 1 | // Application-level settings for the Runner target. 2 | // 3 | // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the 4 | // future. If not, the values below would default to using the project name when this becomes a 5 | // 'flutter create' template. 6 | 7 | // The application's name. By default this is also the title of the Flutter window. 8 | PRODUCT_NAME = integrations 9 | 10 | // The application's bundle identifier 11 | PRODUCT_BUNDLE_IDENTIFIER = dev.gdg.integrations 12 | 13 | // The copyright displayed in application information 14 | PRODUCT_COPYRIGHT = Copyright © 2021 dev.gdg. All rights reserved. 15 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.8.0' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:7.1.2' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | mavenCentral() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /lib/platform/mobile/mobile_service.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/services.dart'; 2 | import 'package:flutter_integrations/ffi_bridge.dart'; 3 | import 'package:flutter_integrations/platform/service.dart'; 4 | 5 | class PlatformServiceImpl implements PlatformService { 6 | static const stream = EventChannel('CALL_EVENTS'); 7 | final _bridge = FFIBridge(); 8 | 9 | @override 10 | int getValue() { 11 | try { 12 | return _bridge.getCValue(); 13 | } on PlatformException catch (e) { 14 | print("Failed to get value: '${e.message}'."); 15 | return 0; 16 | } 17 | } 18 | 19 | @override 20 | Stream getStream() => stream.receiveBroadcastStream().map((event) => event as int); 21 | } 22 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | **/dgph 2 | *.mode1v3 3 | *.mode2v3 4 | *.moved-aside 5 | *.pbxuser 6 | *.perspectivev3 7 | **/*sync/ 8 | .sconsign.dblite 9 | .tags* 10 | **/.vagrant/ 11 | **/DerivedData/ 12 | Icon? 13 | **/Pods/ 14 | **/.symlinks/ 15 | profile 16 | xcuserdata 17 | **/.generated/ 18 | Flutter/App.framework 19 | Flutter/Flutter.framework 20 | Flutter/Flutter.podspec 21 | Flutter/Generated.xcconfig 22 | Flutter/ephemeral/ 23 | Flutter/app.flx 24 | Flutter/app.zip 25 | Flutter/flutter_assets/ 26 | Flutter/flutter_export_environment.sh 27 | ServiceDefinitions.json 28 | Runner/GeneratedPluginRegistrant.* 29 | 30 | # Exceptions to above rules. 31 | !default.mode1v3 32 | !default.mode2v3 33 | !default.pbxuser 34 | !default.perspectivev3 35 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/dev/gdg/integrations/AndroidButtonViewFactory.kt: -------------------------------------------------------------------------------- 1 | package dev.gdg.integrations 2 | 3 | import android.content.Context 4 | import io.flutter.plugin.common.BinaryMessenger 5 | import io.flutter.plugin.common.StandardMessageCodec 6 | import io.flutter.plugin.platform.PlatformView 7 | import io.flutter.plugin.platform.PlatformViewFactory 8 | 9 | 10 | class AndroidButtonViewFactory(messenger: BinaryMessenger) : PlatformViewFactory(StandardMessageCodec.INSTANCE) { 11 | 12 | private val binaryMessenger: BinaryMessenger = messenger 13 | 14 | override fun create(context: Context, viewId: Int, args: Any?): PlatformView { 15 | val creationParams = args as Map? 16 | return AndroidButtonView(context, viewId, creationParams, binaryMessenger) 17 | } 18 | } -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? 9 | ) -> Bool { 10 | 11 | GeneratedPluginRegistrant.register(with: self) 12 | 13 | weak var registrar = self.registrar(forPlugin: "integration-test") 14 | 15 | let factory = FLPlatformViewFactory(messenger: registrar!.messenger()) 16 | self.registrar(forPlugin: "")!.register( 17 | factory, 18 | withId: "INTEGRATION_IOS") 19 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 20 | } 21 | } 22 | 23 | 24 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 9.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/build_output.txt: -------------------------------------------------------------------------------- 1 | Check for working C compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang 2 | Check for working C compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- works 3 | Detecting C compiler ABI info 4 | Detecting C compiler ABI info - done 5 | Detecting C compile features 6 | Detecting C compile features - done 7 | Check for working CXX compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ 8 | Check for working CXX compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- works 9 | Detecting CXX compiler ABI info 10 | Detecting CXX compiler ABI info - done 11 | Detecting CXX compile features 12 | Detecting CXX compile features - done 13 | Configuring done -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/build_output.txt: -------------------------------------------------------------------------------- 1 | Check for working C compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang 2 | Check for working C compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- works 3 | Detecting C compiler ABI info 4 | Detecting C compiler ABI info - done 5 | Detecting C compile features 6 | Detecting C compile features - done 7 | Check for working CXX compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ 8 | Check for working CXX compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- works 9 | Detecting CXX compiler ABI info 10 | Detecting CXX compiler ABI info - done 11 | Detecting CXX compile features 12 | Detecting CXX compile features - done 13 | Configuring done -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/build_output.txt: -------------------------------------------------------------------------------- 1 | Check for working C compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang 2 | Check for working C compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- works 3 | Detecting C compiler ABI info 4 | Detecting C compiler ABI info - done 5 | Detecting C compile features 6 | Detecting C compile features - done 7 | Check for working CXX compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ 8 | Check for working CXX compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- works 9 | Detecting CXX compiler ABI info 10 | Detecting CXX compiler ABI info - done 11 | Detecting CXX compile features 12 | Detecting CXX compile features - done 13 | Configuring done -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/build_output.txt: -------------------------------------------------------------------------------- 1 | Check for working C compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang 2 | Check for working C compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- works 3 | Detecting C compiler ABI info 4 | Detecting C compiler ABI info - done 5 | Detecting C compile features 6 | Detecting C compile features - done 7 | Check for working CXX compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ 8 | Check for working CXX compiler: /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- works 9 | Detecting CXX compiler ABI info 10 | Detecting CXX compiler ABI info - done 11 | Detecting CXX compile features 12 | Detecting CXX compile features - done 13 | Configuring done -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/compile_commands.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "directory": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64", 4 | "command": "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=x86_64-none-linux-android21 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dsimple_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fPIC -o CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o -c /Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c", 5 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c" 6 | } 7 | ] -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/compile_commands.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "directory": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a", 4 | "command": "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android21 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dsimple_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fPIC -o CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o -c /Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c", 5 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c" 6 | } 7 | ] -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/compile_commands.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "directory": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86", 4 | "command": "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=i686-none-linux-android19 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dsimple_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fPIC -o CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o -c /Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c", 5 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c" 6 | } 7 | ] -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/compile_commands.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "directory": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a", 4 | "command": "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=armv7-none-linux-androideabi19 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dsimple_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fPIC -o CMakeFiles/simple.dir/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c.o -c /Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c", 5 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c" 6 | } 7 | ] -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "integrations", 3 | "short_name": "integrations", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | }, 22 | { 23 | "src": "icons/Icon-maskable-192.png", 24 | "sizes": "192x192", 25 | "type": "image/png", 26 | "purpose": "maskable" 27 | }, 28 | { 29 | "src": "icons/Icon-maskable-512.png", 30 | "sizes": "512x512", 31 | "type": "image/png", 32 | "purpose": "maskable" 33 | } 34 | ] 35 | } 36 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /macos/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(FLUTTER_BUILD_NAME) 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSHumanReadableCopyright 26 | $(PRODUCT_COPYRIGHT) 27 | NSMainNibFile 28 | MainMenu 29 | NSPrincipalClass 30 | NSApplication 31 | 32 | 33 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake 2 | arguments : 3 | -H/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app 4 | -DCMAKE_FIND_ROOT_PATH=/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/prefab/x86/prefab 5 | -DCMAKE_BUILD_TYPE=Debug 6 | -DCMAKE_TOOLCHAIN_FILE=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake 7 | -DANDROID_ABI=x86 8 | -DANDROID_NDK=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462 9 | -DANDROID_PLATFORM=android-19 10 | -DCMAKE_ANDROID_ARCH_ABI=x86 11 | -DCMAKE_ANDROID_NDK=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462 12 | -DCMAKE_EXPORT_COMPILE_COMMANDS=ON 13 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/x86 14 | -DCMAKE_MAKE_PROGRAM=/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja 15 | -DCMAKE_SYSTEM_NAME=Android 16 | -DCMAKE_SYSTEM_VERSION=19 17 | -B/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86 18 | -GNinja 19 | jvmArgs : 20 | 21 | Build command args: 22 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake 2 | arguments : 3 | -H/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app 4 | -DCMAKE_FIND_ROOT_PATH=/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/prefab/x86_64/prefab 5 | -DCMAKE_BUILD_TYPE=Debug 6 | -DCMAKE_TOOLCHAIN_FILE=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake 7 | -DANDROID_ABI=x86_64 8 | -DANDROID_NDK=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462 9 | -DANDROID_PLATFORM=android-19 10 | -DCMAKE_ANDROID_ARCH_ABI=x86_64 11 | -DCMAKE_ANDROID_NDK=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462 12 | -DCMAKE_EXPORT_COMPILE_COMMANDS=ON 13 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/x86_64 14 | -DCMAKE_MAKE_PROGRAM=/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja 15 | -DCMAKE_SYSTEM_NAME=Android 16 | -DCMAKE_SYSTEM_VERSION=19 17 | -B/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64 18 | -GNinja 19 | jvmArgs : 20 | 21 | Build command args: 22 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake 2 | arguments : 3 | -H/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app 4 | -DCMAKE_FIND_ROOT_PATH=/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/prefab/arm64-v8a/prefab 5 | -DCMAKE_BUILD_TYPE=Debug 6 | -DCMAKE_TOOLCHAIN_FILE=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake 7 | -DANDROID_ABI=arm64-v8a 8 | -DANDROID_NDK=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462 9 | -DANDROID_PLATFORM=android-19 10 | -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a 11 | -DCMAKE_ANDROID_NDK=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462 12 | -DCMAKE_EXPORT_COMPILE_COMMANDS=ON 13 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/arm64-v8a 14 | -DCMAKE_MAKE_PROGRAM=/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja 15 | -DCMAKE_SYSTEM_NAME=Android 16 | -DCMAKE_SYSTEM_VERSION=19 17 | -B/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a 18 | -GNinja 19 | jvmArgs : 20 | 21 | Build command args: 22 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake 2 | arguments : 3 | -H/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app 4 | -DCMAKE_FIND_ROOT_PATH=/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/prefab/armeabi-v7a/prefab 5 | -DCMAKE_BUILD_TYPE=Debug 6 | -DCMAKE_TOOLCHAIN_FILE=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake 7 | -DANDROID_ABI=armeabi-v7a 8 | -DANDROID_NDK=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462 9 | -DANDROID_PLATFORM=android-19 10 | -DCMAKE_ANDROID_ARCH_ABI=armeabi-v7a 11 | -DCMAKE_ANDROID_NDK=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462 12 | -DCMAKE_EXPORT_COMPILE_COMMANDS=ON 13 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/armeabi-v7a 14 | -DCMAKE_MAKE_PROGRAM=/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja 15 | -DCMAKE_SYSTEM_NAME=Android 16 | -DCMAKE_SYSTEM_VERSION=19 17 | -B/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a 18 | -GNinja 19 | jvmArgs : 20 | 21 | Build command args: 22 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/android_gradle_build_mini.json: -------------------------------------------------------------------------------- 1 | { 2 | "buildFiles": [ 3 | "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 4 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake", 5 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/platforms.cmake" 6 | ], 7 | "cleanCommands": [ 8 | "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86\" clean" 9 | ], 10 | "buildTargetsCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86\" {LIST_OF_TARGETS_TO_BUILD}", 11 | "libraries": { 12 | "simple-Debug-x86": { 13 | "artifactName": "simple", 14 | "buildCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86\" simple", 15 | "abi": "x86", 16 | "output": "/Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/x86/libsimple.so", 17 | "runtimeFiles": [] 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/android_gradle_build_mini.json: -------------------------------------------------------------------------------- 1 | { 2 | "buildFiles": [ 3 | "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 4 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake", 5 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/platforms.cmake" 6 | ], 7 | "cleanCommands": [ 8 | "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64\" clean" 9 | ], 10 | "buildTargetsCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64\" {LIST_OF_TARGETS_TO_BUILD}", 11 | "libraries": { 12 | "simple-Debug-x86_64": { 13 | "artifactName": "simple", 14 | "buildCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64\" simple", 15 | "abi": "x86_64", 16 | "output": "/Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/x86_64/libsimple.so", 17 | "runtimeFiles": [] 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/android_gradle_build_mini.json: -------------------------------------------------------------------------------- 1 | { 2 | "buildFiles": [ 3 | "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 4 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake", 5 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/platforms.cmake" 6 | ], 7 | "cleanCommands": [ 8 | "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a\" clean" 9 | ], 10 | "buildTargetsCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a\" {LIST_OF_TARGETS_TO_BUILD}", 11 | "libraries": { 12 | "simple-Debug-arm64-v8a": { 13 | "artifactName": "simple", 14 | "buildCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a\" simple", 15 | "abi": "arm64-v8a", 16 | "output": "/Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/arm64-v8a/libsimple.so", 17 | "runtimeFiles": [] 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /android/app/src/main/kotlin/dev/gdg/integrations/AndroidButtonView.kt: -------------------------------------------------------------------------------- 1 | package dev.gdg.integrations 2 | 3 | import android.R 4 | import android.content.Context 5 | import android.content.Intent 6 | import android.graphics.Color 7 | import android.view.View 8 | import android.view.ViewGroup 9 | import android.widget.Button 10 | import android.widget.LinearLayout 11 | import io.flutter.plugin.common.BinaryMessenger 12 | import io.flutter.plugin.common.MethodCall 13 | import io.flutter.plugin.common.MethodChannel 14 | import io.flutter.plugin.platform.PlatformView 15 | import kotlin.random.Random 16 | 17 | 18 | internal class AndroidButtonView(context: Context, id: Int, creationParams: Map?, messenger: BinaryMessenger) : PlatformView { 19 | private val button: Button = Button(context) 20 | 21 | private val intentName = "EVENTS" 22 | private val intentMessageId = "CALL" 23 | 24 | 25 | override fun getView(): View { 26 | return button 27 | } 28 | 29 | override fun dispose() {} 30 | 31 | init { 32 | button.textSize = 13f 33 | button.text = "Android Native Button" 34 | button.setOnClickListener { 35 | val intent = Intent(intentName) 36 | intent.putExtra(intentMessageId, Random.nextInt(0, 500)) 37 | context.sendBroadcast(intent) 38 | } 39 | } 40 | 41 | } -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/android_gradle_build_mini.json: -------------------------------------------------------------------------------- 1 | { 2 | "buildFiles": [ 3 | "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 4 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake", 5 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/platforms.cmake" 6 | ], 7 | "cleanCommands": [ 8 | "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a\" clean" 9 | ], 10 | "buildTargetsCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a\" {LIST_OF_TARGETS_TO_BUILD}", 11 | "libraries": { 12 | "simple-Debug-armeabi-v7a": { 13 | "artifactName": "simple", 14 | "buildCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a\" simple", 15 | "abi": "armeabi-v7a", 16 | "output": "/Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/armeabi-v7a/libsimple.so", 17 | "runtimeFiles": [] 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # This file configures the analyzer, which statically analyzes Dart code to 2 | # check for errors, warnings, and lints. 3 | # 4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled 5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be 6 | # invoked from the command line by running `flutter analyze`. 7 | 8 | # The following line activates a set of recommended lints for Flutter apps, 9 | # packages, and plugins designed to encourage good coding practices. 10 | include: package:flutter_lints/flutter.yaml 11 | 12 | linter: 13 | # The lint rules applied to this project can be customized in the 14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml` 15 | # included above or to enable additional rules. A list of all available lints 16 | # and their documentation is published at 17 | # https://dart-lang.github.io/linter/lints/index.html. 18 | # 19 | # Instead of disabling a lint rule for the entire project in the 20 | # section below, it can also be suppressed for a single line of code 21 | # or a specific dart file by using the `// ignore: name_of_lint` and 22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file 23 | # producing the lint. 24 | rules: 25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule 26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule 27 | 28 | # Additional information about this file can be found at 29 | # https://dart.dev/guides/language/analysis-options 30 | -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "16x16", 5 | "idiom" : "mac", 6 | "filename" : "app_icon_16.png", 7 | "scale" : "1x" 8 | }, 9 | { 10 | "size" : "16x16", 11 | "idiom" : "mac", 12 | "filename" : "app_icon_32.png", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "size" : "32x32", 17 | "idiom" : "mac", 18 | "filename" : "app_icon_32.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "32x32", 23 | "idiom" : "mac", 24 | "filename" : "app_icon_64.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "128x128", 29 | "idiom" : "mac", 30 | "filename" : "app_icon_128.png", 31 | "scale" : "1x" 32 | }, 33 | { 34 | "size" : "128x128", 35 | "idiom" : "mac", 36 | "filename" : "app_icon_256.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "256x256", 41 | "idiom" : "mac", 42 | "filename" : "app_icon_256.png", 43 | "scale" : "1x" 44 | }, 45 | { 46 | "size" : "256x256", 47 | "idiom" : "mac", 48 | "filename" : "app_icon_512.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "512x512", 53 | "idiom" : "mac", 54 | "filename" : "app_icon_512.png", 55 | "scale" : "1x" 56 | }, 57 | { 58 | "size" : "512x512", 59 | "idiom" : "mac", 60 | "filename" : "app_icon_1024.png", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | integrations 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "/usr/local") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | # Is this installation the result of a crosscompile? 36 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 37 | set(CMAKE_CROSSCOMPILING "TRUE") 38 | endif() 39 | 40 | if(CMAKE_INSTALL_COMPONENT) 41 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 42 | else() 43 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 44 | endif() 45 | 46 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 47 | "${CMAKE_INSTALL_MANIFEST_FILES}") 48 | file(WRITE "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86/${CMAKE_INSTALL_MANIFEST}" 49 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 50 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "/usr/local") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | # Is this installation the result of a crosscompile? 36 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 37 | set(CMAKE_CROSSCOMPILING "TRUE") 38 | endif() 39 | 40 | if(CMAKE_INSTALL_COMPONENT) 41 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 42 | else() 43 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 44 | endif() 45 | 46 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 47 | "${CMAKE_INSTALL_MANIFEST_FILES}") 48 | file(WRITE "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64/${CMAKE_INSTALL_MANIFEST}" 49 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 50 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "/usr/local") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | # Is this installation the result of a crosscompile? 36 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 37 | set(CMAKE_CROSSCOMPILING "TRUE") 38 | endif() 39 | 40 | if(CMAKE_INSTALL_COMPONENT) 41 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 42 | else() 43 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 44 | endif() 45 | 46 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 47 | "${CMAKE_INSTALL_MANIFEST_FILES}") 48 | file(WRITE "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a/${CMAKE_INSTALL_MANIFEST}" 49 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 50 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: /Users/Aleksandr_Denisov/Work/workshops/integrations/android/app 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "/usr/local") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | # Is this installation the result of a crosscompile? 36 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 37 | set(CMAKE_CROSSCOMPILING "TRUE") 38 | endif() 39 | 40 | if(CMAKE_INSTALL_COMPONENT) 41 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 42 | else() 43 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 44 | endif() 45 | 46 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 47 | "${CMAKE_INSTALL_MANIFEST_FILES}") 48 | file(WRITE "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a/${CMAKE_INSTALL_MANIFEST}" 49 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 50 | -------------------------------------------------------------------------------- /web/interop.js: -------------------------------------------------------------------------------- 1 | // use custom event emitter instead of browsers native 2 | // EventTarget because dart monkey patches this class. 3 | class EventEmitter { 4 | constructor() { 5 | this._storage = new Map(); 6 | } 7 | 8 | addEventListener(type, handler) { 9 | if (this._storage.has(type)) { 10 | this._storage.get(type).push(handler); 11 | } else { 12 | this._storage.set(type, [handler]); 13 | } 14 | } 15 | 16 | removeEventListener(type, handler) { 17 | if (this._storage.has(type)) { 18 | this._storage.set(type, this._storage.get(type).filter((fn) => fn != handler)); 19 | return true; 20 | } 21 | 22 | return false; 23 | } 24 | 25 | dispatchEvent(event) { 26 | if (this._storage.has(event.type)) { 27 | this._storage.get(event.type).forEach(handler => handler(event)); 28 | return true; 29 | } 30 | 31 | return false; 32 | } 33 | } 34 | 35 | class JsInteropManager extends EventEmitter { 36 | constructor() { 37 | super(); 38 | 39 | this.buttonElement = document.createElement('button'); 40 | this.buttonElement.innerText = 'Web Native Button'; 41 | 42 | window.addEventListener('click', (e) => { 43 | if (e.target === this.buttonElement) { 44 | const interopEvent = new JsInteropEvent(Math.floor(Math.random() * 500)); 45 | this.dispatchEvent(interopEvent); 46 | } 47 | }); 48 | 49 | window._clickManager = this; 50 | } 51 | 52 | getValueFromJs() { 53 | return Math.floor(Math.random() * 500); 54 | } 55 | } 56 | 57 | class JsInteropEvent { 58 | constructor(value) { 59 | this.type = 'InteropEvent'; 60 | this.value = value; 61 | } 62 | } 63 | 64 | window.ClicksNamespace = { 65 | JsInteropManager, 66 | JsInteropEvent, 67 | } -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/json_generation_record.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "level": "INFO", 4 | "message": "Version minSdkVersion\u003d\u002720\u0027 is mapped to \u002719\u0027.", 5 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 6 | "tag": "debug|x86" 7 | }, 8 | { 9 | "level": "INFO", 10 | "message": "Start JSON generation. Platform version: 19 min SDK version: x86", 11 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 12 | "tag": "debug|x86" 13 | }, 14 | { 15 | "level": "INFO", 16 | "message": "No CMake version was specified in build.gradle. Using default version 3.10.2.", 17 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 18 | "tag": "debug|x86" 19 | }, 20 | { 21 | "level": "INFO", 22 | "message": "Trying to locate CMake in local SDK repository.", 23 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 24 | "tag": "debug|x86" 25 | }, 26 | { 27 | "level": "INFO", 28 | "message": "- CMake found in SDK at \u0027/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404\u0027 had version \u00273.10.2\u0027", 29 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 30 | "tag": "debug|x86" 31 | }, 32 | { 33 | "level": "INFO", 34 | "message": "CMake \u00273.18.1\u0027 found in SDK did not match requested version \u00273.10.2\u0027.", 35 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 36 | "tag": "debug|x86" 37 | }, 38 | { 39 | "level": "INFO", 40 | "message": "JSON \u0027/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86/android_gradle_build.json\u0027 was up-to-date", 41 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 42 | "tag": "debug|x86" 43 | }, 44 | { 45 | "level": "INFO", 46 | "message": "JSON generation completed without problems", 47 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 48 | "tag": "debug|x86" 49 | } 50 | ] -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/json_generation_record.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "level": "INFO", 4 | "message": "Version minSdkVersion\u003d\u002720\u0027 is mapped to \u002719\u0027.", 5 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 6 | "tag": "debug|x86_64" 7 | }, 8 | { 9 | "level": "INFO", 10 | "message": "Start JSON generation. Platform version: 19 min SDK version: x86_64", 11 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 12 | "tag": "debug|x86_64" 13 | }, 14 | { 15 | "level": "INFO", 16 | "message": "No CMake version was specified in build.gradle. Using default version 3.10.2.", 17 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 18 | "tag": "debug|x86_64" 19 | }, 20 | { 21 | "level": "INFO", 22 | "message": "Trying to locate CMake in local SDK repository.", 23 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 24 | "tag": "debug|x86_64" 25 | }, 26 | { 27 | "level": "INFO", 28 | "message": "- CMake found in SDK at \u0027/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404\u0027 had version \u00273.10.2\u0027", 29 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 30 | "tag": "debug|x86_64" 31 | }, 32 | { 33 | "level": "INFO", 34 | "message": "CMake \u00273.18.1\u0027 found in SDK did not match requested version \u00273.10.2\u0027.", 35 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 36 | "tag": "debug|x86_64" 37 | }, 38 | { 39 | "level": "INFO", 40 | "message": "JSON \u0027/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64/android_gradle_build.json\u0027 was up-to-date", 41 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 42 | "tag": "debug|x86_64" 43 | }, 44 | { 45 | "level": "INFO", 46 | "message": "JSON generation completed without problems", 47 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 48 | "tag": "debug|x86_64" 49 | } 50 | ] -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/json_generation_record.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "level": "INFO", 4 | "message": "Version minSdkVersion\u003d\u002720\u0027 is mapped to \u002719\u0027.", 5 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 6 | "tag": "debug|arm64-v8a" 7 | }, 8 | { 9 | "level": "INFO", 10 | "message": "Start JSON generation. Platform version: 19 min SDK version: arm64-v8a", 11 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 12 | "tag": "debug|arm64-v8a" 13 | }, 14 | { 15 | "level": "INFO", 16 | "message": "No CMake version was specified in build.gradle. Using default version 3.10.2.", 17 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 18 | "tag": "debug|arm64-v8a" 19 | }, 20 | { 21 | "level": "INFO", 22 | "message": "Trying to locate CMake in local SDK repository.", 23 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 24 | "tag": "debug|arm64-v8a" 25 | }, 26 | { 27 | "level": "INFO", 28 | "message": "- CMake found in SDK at \u0027/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404\u0027 had version \u00273.10.2\u0027", 29 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 30 | "tag": "debug|arm64-v8a" 31 | }, 32 | { 33 | "level": "INFO", 34 | "message": "CMake \u00273.18.1\u0027 found in SDK did not match requested version \u00273.10.2\u0027.", 35 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 36 | "tag": "debug|arm64-v8a" 37 | }, 38 | { 39 | "level": "INFO", 40 | "message": "JSON \u0027/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a/android_gradle_build.json\u0027 was up-to-date", 41 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 42 | "tag": "debug|arm64-v8a" 43 | }, 44 | { 45 | "level": "INFO", 46 | "message": "JSON generation completed without problems", 47 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 48 | "tag": "debug|arm64-v8a" 49 | } 50 | ] -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/json_generation_record.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "level": "INFO", 4 | "message": "Version minSdkVersion\u003d\u002720\u0027 is mapped to \u002719\u0027.", 5 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 6 | "tag": "debug|armeabi-v7a" 7 | }, 8 | { 9 | "level": "INFO", 10 | "message": "Start JSON generation. Platform version: 19 min SDK version: armeabi-v7a", 11 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 12 | "tag": "debug|armeabi-v7a" 13 | }, 14 | { 15 | "level": "INFO", 16 | "message": "No CMake version was specified in build.gradle. Using default version 3.10.2.", 17 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 18 | "tag": "debug|armeabi-v7a" 19 | }, 20 | { 21 | "level": "INFO", 22 | "message": "Trying to locate CMake in local SDK repository.", 23 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 24 | "tag": "debug|armeabi-v7a" 25 | }, 26 | { 27 | "level": "INFO", 28 | "message": "- CMake found in SDK at \u0027/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404\u0027 had version \u00273.10.2\u0027", 29 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 30 | "tag": "debug|armeabi-v7a" 31 | }, 32 | { 33 | "level": "INFO", 34 | "message": "CMake \u00273.18.1\u0027 found in SDK did not match requested version \u00273.10.2\u0027.", 35 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 36 | "tag": "debug|armeabi-v7a" 37 | }, 38 | { 39 | "level": "INFO", 40 | "message": "JSON \u0027/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a/android_gradle_build.json\u0027 was up-to-date", 41 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 42 | "tag": "debug|armeabi-v7a" 43 | }, 44 | { 45 | "level": "INFO", 46 | "message": "JSON generation completed without problems", 47 | "file": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 48 | "tag": "debug|armeabi-v7a" 49 | } 50 | ] -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion 31 30 | 31 | compileOptions { 32 | sourceCompatibility JavaVersion.VERSION_1_8 33 | targetCompatibility JavaVersion.VERSION_1_8 34 | } 35 | 36 | kotlinOptions { 37 | jvmTarget = '1.8' 38 | } 39 | 40 | sourceSets { 41 | main.java.srcDirs += 'src/main/kotlin' 42 | } 43 | 44 | defaultConfig { 45 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 46 | applicationId "dev.gdg.integrations" 47 | minSdkVersion 20 48 | targetSdkVersion 30 49 | versionCode flutterVersionCode.toInteger() 50 | versionName flutterVersionName 51 | } 52 | 53 | buildTypes { 54 | release { 55 | // TODO: Add your own signing config for the release build. 56 | // Signing with the debug keys for now, so `flutter run --release` works. 57 | signingConfig signingConfigs.debug 58 | } 59 | } 60 | buildFeatures { 61 | viewBinding true 62 | } 63 | externalNativeBuild { 64 | cmake { 65 | path "CMakeLists.txt" 66 | } 67 | } 68 | } 69 | 70 | flutter { 71 | source '../..' 72 | } 73 | 74 | dependencies { 75 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 76 | implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9") 77 | } 78 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 9 | 16 | 17 | 23 | 26 | 33 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 47 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | { 2 | "stringTable": { 3 | "0": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86", 4 | "1": "--target=i686-none-linux-android19 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dsimple_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fPIC" 5 | }, 6 | "buildFiles": [ 7 | "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 8 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake", 9 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/platforms.cmake" 10 | ], 11 | "cleanCommands": [ 12 | "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86\" clean" 13 | ], 14 | "buildTargetsCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86\" {LIST_OF_TARGETS_TO_BUILD}", 15 | "libraries": { 16 | "simple-Debug-x86": { 17 | "buildCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86\" simple", 18 | "buildType": "debug", 19 | "toolchain": "3287251423", 20 | "abi": "x86", 21 | "artifactName": "simple", 22 | "files": [ 23 | { 24 | "src": "/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c", 25 | "flagsOrdinal": 1, 26 | "workingDirectoryOrdinal": 0 27 | } 28 | ], 29 | "headers": [], 30 | "output": "/Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/x86/libsimple.so", 31 | "runtimeFiles": [] 32 | } 33 | }, 34 | "toolchains": { 35 | "3287251423": { 36 | "cCompilerExecutable": "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang" 37 | } 38 | }, 39 | "cFileExtensions": [ 40 | "c" 41 | ], 42 | "cppFileExtensions": [] 43 | } -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | { 2 | "stringTable": { 3 | "0": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64", 4 | "1": "--target=x86_64-none-linux-android21 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dsimple_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fPIC" 5 | }, 6 | "buildFiles": [ 7 | "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 8 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake", 9 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/platforms.cmake" 10 | ], 11 | "cleanCommands": [ 12 | "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64\" clean" 13 | ], 14 | "buildTargetsCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64\" {LIST_OF_TARGETS_TO_BUILD}", 15 | "libraries": { 16 | "simple-Debug-x86_64": { 17 | "buildCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64\" simple", 18 | "buildType": "debug", 19 | "toolchain": "3287251423", 20 | "abi": "x86_64", 21 | "artifactName": "simple", 22 | "files": [ 23 | { 24 | "src": "/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c", 25 | "flagsOrdinal": 1, 26 | "workingDirectoryOrdinal": 0 27 | } 28 | ], 29 | "headers": [], 30 | "output": "/Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/x86_64/libsimple.so", 31 | "runtimeFiles": [] 32 | } 33 | }, 34 | "toolchains": { 35 | "3287251423": { 36 | "cCompilerExecutable": "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang" 37 | } 38 | }, 39 | "cFileExtensions": [ 40 | "c" 41 | ], 42 | "cppFileExtensions": [] 43 | } -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | { 2 | "stringTable": { 3 | "0": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a", 4 | "1": "--target=aarch64-none-linux-android21 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dsimple_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fPIC" 5 | }, 6 | "buildFiles": [ 7 | "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 8 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake", 9 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/platforms.cmake" 10 | ], 11 | "cleanCommands": [ 12 | "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a\" clean" 13 | ], 14 | "buildTargetsCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a\" {LIST_OF_TARGETS_TO_BUILD}", 15 | "libraries": { 16 | "simple-Debug-arm64-v8a": { 17 | "buildCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a\" simple", 18 | "buildType": "debug", 19 | "toolchain": "3287251423", 20 | "abi": "arm64-v8a", 21 | "artifactName": "simple", 22 | "files": [ 23 | { 24 | "src": "/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c", 25 | "flagsOrdinal": 1, 26 | "workingDirectoryOrdinal": 0 27 | } 28 | ], 29 | "headers": [], 30 | "output": "/Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/arm64-v8a/libsimple.so", 31 | "runtimeFiles": [] 32 | } 33 | }, 34 | "toolchains": { 35 | "3287251423": { 36 | "cCompilerExecutable": "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang" 37 | } 38 | }, 39 | "cFileExtensions": [ 40 | "c" 41 | ], 42 | "cppFileExtensions": [] 43 | } -------------------------------------------------------------------------------- /lib/platform/mobile/platform_view_mobile.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/foundation.dart'; 2 | import 'package:flutter/gestures.dart'; 3 | import 'package:flutter/material.dart'; 4 | import 'package:flutter/rendering.dart'; 5 | import 'package:flutter/services.dart'; 6 | 7 | class PlatformWidget extends StatelessWidget { 8 | final bool hybridComposition; 9 | 10 | const PlatformWidget({Key? key, required this.hybridComposition}) : super(key: key); 11 | 12 | @override 13 | Widget build(BuildContext context) { 14 | late final Widget view; 15 | if (defaultTargetPlatform == TargetPlatform.android) { 16 | if (hybridComposition) { 17 | const viewType = 'INTEGRATION_ANDROID'; 18 | final Map creationParams = {}; 19 | 20 | view = PlatformViewLink( 21 | viewType: viewType, 22 | surfaceFactory: (BuildContext context, PlatformViewController controller) { 23 | return AndroidViewSurface( 24 | controller: controller as AndroidViewController, 25 | gestureRecognizers: const >{}, 26 | hitTestBehavior: PlatformViewHitTestBehavior.opaque, 27 | ); 28 | }, 29 | onCreatePlatformView: (PlatformViewCreationParams params) { 30 | return PlatformViewsService.initSurfaceAndroidView( 31 | id: params.id, 32 | viewType: viewType, 33 | layoutDirection: TextDirection.ltr, 34 | creationParams: creationParams, 35 | creationParamsCodec: const StandardMessageCodec(), 36 | onFocus: () { 37 | params.onFocusChanged(true); 38 | }, 39 | ) 40 | ..addOnPlatformViewCreatedListener(params.onPlatformViewCreated) 41 | ..create(); 42 | }, 43 | ); 44 | } else { 45 | view = AndroidView( 46 | viewType: 'INTEGRATION_ANDROID', 47 | onPlatformViewCreated: _onPlatformViewCreated, 48 | ); 49 | } 50 | } else if (defaultTargetPlatform == TargetPlatform.iOS) { 51 | view = UiKitView( 52 | viewType: 'INTEGRATION_IOS', 53 | onPlatformViewCreated: _onPlatformViewCreated, 54 | ); 55 | } else { 56 | view = Text('$defaultTargetPlatform is not yet supported'); 57 | } 58 | return SizedBox(height: 50, width: 200, child: view); 59 | } 60 | 61 | void _onPlatformViewCreated(int id) { 62 | if (kDebugMode) { 63 | print('PlatformView with id:$id created'); 64 | } 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/dev/gdg/integrations/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package dev.gdg.integrations 2 | 3 | import android.content.BroadcastReceiver 4 | import android.content.Context 5 | import android.content.Intent 6 | import android.content.IntentFilter 7 | import androidx.annotation.NonNull 8 | import io.flutter.embedding.android.FlutterActivity 9 | import io.flutter.embedding.engine.FlutterEngine 10 | import io.flutter.plugin.common.EventChannel 11 | import io.flutter.plugin.common.MethodChannel 12 | import kotlin.random.Random 13 | 14 | class MainActivity: FlutterActivity() { 15 | 16 | private val androidViewId= "INTEGRATION_ANDROID" 17 | private val eventsChannel = "CALL_EVENTS" 18 | private val methodChannel = "CALL_METHOD" 19 | private val intentName = "EVENTS" 20 | private val intentMessageId = "CALL" 21 | 22 | private var receiver: BroadcastReceiver? = null 23 | 24 | override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) { 25 | super.configureFlutterEngine(flutterEngine) 26 | flutterEngine 27 | .platformViewsController 28 | .registry 29 | .registerViewFactory(androidViewId, AndroidButtonViewFactory(flutterEngine.dartExecutor.binaryMessenger)) 30 | 31 | MethodChannel(flutterEngine.dartExecutor.binaryMessenger, methodChannel).setMethodCallHandler { 32 | call, result -> 33 | if (call.method == intentMessageId) { 34 | result.success(Random.nextInt(0, 500)) 35 | } else { 36 | result.notImplemented() 37 | } 38 | } 39 | 40 | EventChannel(flutterEngine.dartExecutor, eventsChannel).setStreamHandler( 41 | object : EventChannel.StreamHandler { 42 | override fun onListen(args: Any?, events: EventChannel.EventSink) { 43 | val intent = Intent(intentName) 44 | receiver = createReceiver(events) 45 | applicationContext?.registerReceiver(receiver, IntentFilter(intentName)) 46 | } 47 | 48 | override fun onCancel(args: Any?) { 49 | receiver = null 50 | } 51 | } 52 | ) 53 | } 54 | 55 | fun createReceiver(events: EventChannel.EventSink): BroadcastReceiver? { 56 | return object : BroadcastReceiver() { 57 | override fun onReceive(context: Context, intent: Intent) { // NOTE: assuming intent.getAction() is Intent.ACTION_VIEW 58 | events.success(intent.getIntExtra(intentMessageId, 0)) 59 | } 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | { 2 | "stringTable": { 3 | "0": "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a", 4 | "1": "--target=armv7-none-linux-androideabi19 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dsimple_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fPIC" 5 | }, 6 | "buildFiles": [ 7 | "/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/CMakeLists.txt", 8 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/android.toolchain.cmake", 9 | "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/build/cmake/platforms.cmake" 10 | ], 11 | "cleanCommands": [ 12 | "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a\" clean" 13 | ], 14 | "buildTargetsCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a\" {LIST_OF_TARGETS_TO_BUILD}", 15 | "libraries": { 16 | "simple-Debug-armeabi-v7a": { 17 | "buildCommand": "/Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a\" simple", 18 | "buildType": "debug", 19 | "toolchain": "3287251423", 20 | "abi": "armeabi-v7a", 21 | "artifactName": "simple", 22 | "files": [ 23 | { 24 | "src": "/Users/Aleksandr_Denisov/Work/workshops/integrations/src/simple.c", 25 | "flagsOrdinal": 1, 26 | "workingDirectoryOrdinal": 0 27 | } 28 | ], 29 | "headers": [], 30 | "output": "/Users/Aleksandr_Denisov/Work/workshops/integrations/build/app/intermediates/cmake/debug/obj/armeabi-v7a/libsimple.so", 31 | "runtimeFiles": [] 32 | } 33 | }, 34 | "toolchains": { 35 | "3287251423": { 36 | "cCompilerExecutable": "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang" 37 | } 38 | }, 39 | "cFileExtensions": [ 40 | "c" 41 | ], 42 | "cppFileExtensions": [] 43 | } -------------------------------------------------------------------------------- /lib/platform/web/web_interop.dart: -------------------------------------------------------------------------------- 1 | @JS('ClicksNamespace') 2 | library interop; 3 | 4 | import 'dart:async'; 5 | import 'dart:html'; 6 | import 'package:js/js.dart'; 7 | import 'dart:ui' as ui; 8 | 9 | @JS('JsInteropEvent') 10 | class _JsInteropEvent { 11 | external int value; 12 | } 13 | 14 | @JS('JsInteropEventType') 15 | class EventType { 16 | // ignore: non_constant_identifier_names 17 | external static String get InteropEvent; 18 | } 19 | 20 | typedef _ClicksManagerEventListener = void Function(_JsInteropEvent event); 21 | 22 | @JS('JsInteropManager') 23 | class _JsInteropManager { 24 | external ButtonElement get buttonElement; 25 | 26 | external int getValueFromJs(); 27 | 28 | external void addEventListener( 29 | String event, 30 | _ClicksManagerEventListener listener, 31 | ); 32 | 33 | external void removeEventListener( 34 | String event, 35 | _ClicksManagerEventListener listener, 36 | ); 37 | } 38 | 39 | class _EventStreamProvider { 40 | final _JsInteropManager _eventTarget; 41 | final List> _controllers = []; 42 | 43 | _EventStreamProvider.forTarget(this._eventTarget); 44 | 45 | Stream forEvent(String eventType) { 46 | late StreamController controller; 47 | void onEventReceived(event) { 48 | controller.add(event as T); 49 | } 50 | 51 | final interopted = allowInterop(onEventReceived); 52 | 53 | controller = StreamController.broadcast( 54 | onCancel: () => _eventTarget.removeEventListener( 55 | eventType, 56 | interopted, 57 | ), 58 | onListen: () => _eventTarget.addEventListener( 59 | eventType, 60 | interopted, 61 | ), 62 | ); 63 | 64 | _controllers.add(controller); 65 | 66 | return controller.stream; 67 | } 68 | 69 | void dispose() { 70 | for (var controller in _controllers) { 71 | controller.close(); 72 | } 73 | } 74 | } 75 | 76 | class InteropManager { 77 | final _interop = _JsInteropManager(); 78 | late Stream _buttonClicked; 79 | 80 | InteropManager() { 81 | 82 | final streamProvider = _EventStreamProvider.forTarget(_interop); 83 | 84 | // ignore: undefined_prefixed_name 85 | ui.platformViewRegistry.registerViewFactory( 86 | 'web-button', 87 | (viewId) => _interop.buttonElement, 88 | ); 89 | 90 | _buttonClicked = streamProvider 91 | .forEvent<_JsInteropEvent>( 92 | 'InteropEvent', 93 | ) 94 | .map((event) => event.value); 95 | } 96 | 97 | int getValueFromJs() => _interop.getValueFromJs(); 98 | 99 | Stream get buttonClicked => _buttonClicked; 100 | } 101 | -------------------------------------------------------------------------------- /ios/Runner/FLPlatformView.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | 4 | class FLPlatformViewFactory: NSObject, FlutterPlatformViewFactory { 5 | private var messenger: FlutterBinaryMessenger 6 | 7 | init(messenger: FlutterBinaryMessenger) { 8 | self.messenger = messenger 9 | super.init() 10 | } 11 | 12 | func create( 13 | withFrame frame: CGRect, 14 | viewIdentifier viewId: Int64, 15 | arguments args: Any? 16 | ) -> FlutterPlatformView { 17 | return FLPlatformView( 18 | frame: frame, 19 | viewIdentifier: viewId, 20 | arguments: args, 21 | binaryMessenger: messenger) 22 | } 23 | } 24 | 25 | class FLPlatformView: NSObject, FlutterPlatformView, FlutterStreamHandler { 26 | private var _view: UIView 27 | private var _eventSink: FlutterEventSink! 28 | 29 | init( 30 | frame: CGRect, 31 | viewIdentifier viewId: Int64, 32 | arguments args: Any?, 33 | binaryMessenger messenger: FlutterBinaryMessenger 34 | ) { 35 | _view = UIView() 36 | super.init() 37 | createNativeView(view: _view, binaryMessenger: messenger) 38 | } 39 | 40 | func view() -> UIView { 41 | return _view 42 | } 43 | 44 | @objc 45 | func onClick(sender: UIButton!) { 46 | self._eventSink(Int.random(in: 0..<500)) 47 | } 48 | 49 | func onListen(withArguments arguments: Any?, eventSink events: @escaping FlutterEventSink) -> FlutterError? { 50 | _eventSink = events 51 | return nil 52 | } 53 | 54 | func onCancel(withArguments arguments: Any?) -> FlutterError? { 55 | _eventSink = nil 56 | return nil 57 | } 58 | 59 | func createNativeView(view _view: UIView, binaryMessenger messenger: FlutterBinaryMessenger){ 60 | let button = UIButton() 61 | button.setTitle("iOS Native Button", for: .normal) 62 | button.addTarget(self, action: #selector(onClick(sender:)), for: .touchUpInside) 63 | button.backgroundColor = UIColor.blue 64 | button.frame = CGRect(x: 0, y: 0, width: 180, height: 48.0) 65 | _view.addSubview(button) 66 | 67 | let channel = FlutterMethodChannel(name: "CALL_METHOD", binaryMessenger: messenger) 68 | let eventChannel = FlutterEventChannel(name: "CALL_EVENTS", binaryMessenger: messenger) 69 | 70 | eventChannel.setStreamHandler(self) 71 | 72 | channel.setMethodCallHandler({ 73 | (call: FlutterMethodCall, result: FlutterResult) -> Void in 74 | guard call.method == "CALL" else { 75 | result(FlutterMethodNotImplemented) 76 | return 77 | } 78 | result(Int.random(in: 0..<500)) 79 | }) 80 | } 81 | } 82 | 83 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.10 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Debug 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__simple 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=i686-none-linux-android19 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__simple 36 | command = $PRE_LINK && /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=i686-none-linux-android19 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake -H/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app -B/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.10 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Debug 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__simple 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=x86_64-none-linux-android21 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__simple 36 | command = $PRE_LINK && /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=x86_64-none-linux-android21 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake -H/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app -B/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/x86_64 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.10 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Debug 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__simple 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android21 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__simple 36 | command = $PRE_LINK && /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android21 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake -H/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app -B/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/arm64-v8a 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.10 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Debug 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__simple 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=armv7-none-linux-androideabi19 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__simple 36 | command = $PRE_LINK && /Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=armv7-none-linux-androideabi19 --gcc-toolchain=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake -H/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app -B/Users/Aleksandr_Denisov/Work/workshops/integrations/android/app/.cxx/cmake/debug/armeabi-v7a 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = /Users/Aleksandr_Denisov/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 37 | 38 | 39 | 40 | 41 | 42 | 52 | 54 | 60 | 61 | 62 | 63 | 69 | 71 | 77 | 78 | 79 | 80 | 82 | 83 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "Clang") 4 | set(CMAKE_C_COMPILER_VERSION "9.0") 5 | set(CMAKE_C_COMPILER_VERSION_INTERNAL "") 6 | set(CMAKE_C_COMPILER_WRAPPER "") 7 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") 8 | set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert") 9 | set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") 10 | set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") 11 | set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") 12 | 13 | set(CMAKE_C_PLATFORM_ID "") 14 | set(CMAKE_C_SIMULATE_ID "") 15 | set(CMAKE_C_SIMULATE_VERSION "") 16 | 17 | 18 | 19 | set(CMAKE_AR "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ar") 20 | set(CMAKE_C_COMPILER_AR "CMAKE_C_COMPILER_AR-NOTFOUND") 21 | set(CMAKE_RANLIB "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ranlib") 22 | set(CMAKE_C_COMPILER_RANLIB "CMAKE_C_COMPILER_RANLIB-NOTFOUND") 23 | set(CMAKE_LINKER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ld") 24 | set(CMAKE_COMPILER_IS_GNUCC ) 25 | set(CMAKE_C_COMPILER_LOADED 1) 26 | set(CMAKE_C_COMPILER_WORKS TRUE) 27 | set(CMAKE_C_ABI_COMPILED TRUE) 28 | set(CMAKE_COMPILER_IS_MINGW ) 29 | set(CMAKE_COMPILER_IS_CYGWIN ) 30 | if(CMAKE_COMPILER_IS_CYGWIN) 31 | set(CYGWIN 1) 32 | set(UNIX 1) 33 | endif() 34 | 35 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 36 | 37 | if(CMAKE_COMPILER_IS_MINGW) 38 | set(MINGW 1) 39 | endif() 40 | set(CMAKE_C_COMPILER_ID_RUN 1) 41 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 42 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 43 | set(CMAKE_C_LINKER_PREFERENCE 10) 44 | 45 | # Save compiler ABI information. 46 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 47 | set(CMAKE_C_COMPILER_ABI "ELF") 48 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 49 | 50 | if(CMAKE_C_SIZEOF_DATA_PTR) 51 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 52 | endif() 53 | 54 | if(CMAKE_C_COMPILER_ABI) 55 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 56 | endif() 57 | 58 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 59 | set(CMAKE_LIBRARY_ARCHITECTURE "") 60 | endif() 61 | 62 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 63 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 64 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 65 | endif() 66 | 67 | 68 | 69 | 70 | 71 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;dl;c;gcc;dl") 72 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/9.0.8/lib/linux/i386;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/i686-linux-android/4.9.x;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/i686-linux-android/19;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/i686-linux-android;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/i686-linux-android/lib;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib") 73 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 74 | -------------------------------------------------------------------------------- /macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 37 | 38 | 39 | 40 | 41 | 42 | 52 | 54 | 60 | 61 | 62 | 63 | 64 | 65 | 71 | 73 | 79 | 80 | 81 | 82 | 84 | 85 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "Clang") 4 | set(CMAKE_C_COMPILER_VERSION "9.0") 5 | set(CMAKE_C_COMPILER_VERSION_INTERNAL "") 6 | set(CMAKE_C_COMPILER_WRAPPER "") 7 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") 8 | set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert") 9 | set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") 10 | set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") 11 | set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") 12 | 13 | set(CMAKE_C_PLATFORM_ID "") 14 | set(CMAKE_C_SIMULATE_ID "") 15 | set(CMAKE_C_SIMULATE_VERSION "") 16 | 17 | 18 | 19 | set(CMAKE_AR "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar") 20 | set(CMAKE_C_COMPILER_AR "CMAKE_C_COMPILER_AR-NOTFOUND") 21 | set(CMAKE_RANLIB "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ranlib") 22 | set(CMAKE_C_COMPILER_RANLIB "CMAKE_C_COMPILER_RANLIB-NOTFOUND") 23 | set(CMAKE_LINKER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ld") 24 | set(CMAKE_COMPILER_IS_GNUCC ) 25 | set(CMAKE_C_COMPILER_LOADED 1) 26 | set(CMAKE_C_COMPILER_WORKS TRUE) 27 | set(CMAKE_C_ABI_COMPILED TRUE) 28 | set(CMAKE_COMPILER_IS_MINGW ) 29 | set(CMAKE_COMPILER_IS_CYGWIN ) 30 | if(CMAKE_COMPILER_IS_CYGWIN) 31 | set(CYGWIN 1) 32 | set(UNIX 1) 33 | endif() 34 | 35 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 36 | 37 | if(CMAKE_COMPILER_IS_MINGW) 38 | set(MINGW 1) 39 | endif() 40 | set(CMAKE_C_COMPILER_ID_RUN 1) 41 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 42 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 43 | set(CMAKE_C_LINKER_PREFERENCE 10) 44 | 45 | # Save compiler ABI information. 46 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 47 | set(CMAKE_C_COMPILER_ABI "ELF") 48 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 49 | 50 | if(CMAKE_C_SIZEOF_DATA_PTR) 51 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 52 | endif() 53 | 54 | if(CMAKE_C_COMPILER_ABI) 55 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 56 | endif() 57 | 58 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 59 | set(CMAKE_LIBRARY_ARCHITECTURE "") 60 | endif() 61 | 62 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 63 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 64 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 65 | endif() 66 | 67 | 68 | 69 | 70 | 71 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;dl;c;gcc;dl") 72 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/9.0.8/lib/linux/arm;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/thumb;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/arm-linux-androideabi/lib/armv7-a/thumb;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi/19;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib") 73 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 74 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/CMakeFiles/3.10.2/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "Clang") 4 | set(CMAKE_C_COMPILER_VERSION "9.0") 5 | set(CMAKE_C_COMPILER_VERSION_INTERNAL "") 6 | set(CMAKE_C_COMPILER_WRAPPER "") 7 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") 8 | set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert") 9 | set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") 10 | set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") 11 | set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") 12 | 13 | set(CMAKE_C_PLATFORM_ID "") 14 | set(CMAKE_C_SIMULATE_ID "") 15 | set(CMAKE_C_SIMULATE_VERSION "") 16 | 17 | 18 | 19 | set(CMAKE_AR "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/x86_64-linux-android-ar") 20 | set(CMAKE_C_COMPILER_AR "CMAKE_C_COMPILER_AR-NOTFOUND") 21 | set(CMAKE_RANLIB "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/x86_64-linux-android-ranlib") 22 | set(CMAKE_C_COMPILER_RANLIB "CMAKE_C_COMPILER_RANLIB-NOTFOUND") 23 | set(CMAKE_LINKER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/x86_64-linux-android-ld") 24 | set(CMAKE_COMPILER_IS_GNUCC ) 25 | set(CMAKE_C_COMPILER_LOADED 1) 26 | set(CMAKE_C_COMPILER_WORKS TRUE) 27 | set(CMAKE_C_ABI_COMPILED TRUE) 28 | set(CMAKE_COMPILER_IS_MINGW ) 29 | set(CMAKE_COMPILER_IS_CYGWIN ) 30 | if(CMAKE_COMPILER_IS_CYGWIN) 31 | set(CYGWIN 1) 32 | set(UNIX 1) 33 | endif() 34 | 35 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 36 | 37 | if(CMAKE_COMPILER_IS_MINGW) 38 | set(MINGW 1) 39 | endif() 40 | set(CMAKE_C_COMPILER_ID_RUN 1) 41 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 42 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 43 | set(CMAKE_C_LINKER_PREFERENCE 10) 44 | 45 | # Save compiler ABI information. 46 | set(CMAKE_C_SIZEOF_DATA_PTR "8") 47 | set(CMAKE_C_COMPILER_ABI "ELF") 48 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 49 | 50 | if(CMAKE_C_SIZEOF_DATA_PTR) 51 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 52 | endif() 53 | 54 | if(CMAKE_C_COMPILER_ABI) 55 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 56 | endif() 57 | 58 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 59 | set(CMAKE_LIBRARY_ARCHITECTURE "") 60 | endif() 61 | 62 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 63 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 64 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 65 | endif() 66 | 67 | 68 | 69 | 70 | 71 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;dl;c;gcc;dl") 72 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/9.0.8/lib/linux/x86_64;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/x86_64-linux-android/4.9.x;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/x86_64-linux-android/lib64;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/x86_64-linux-android/21;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/x86_64-linux-android;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/x86_64-linux-android/lib;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib") 73 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 74 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/arm64-v8a/CMakeFiles/3.10.2/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "Clang") 4 | set(CMAKE_C_COMPILER_VERSION "9.0") 5 | set(CMAKE_C_COMPILER_VERSION_INTERNAL "") 6 | set(CMAKE_C_COMPILER_WRAPPER "") 7 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") 8 | set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert") 9 | set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") 10 | set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") 11 | set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") 12 | 13 | set(CMAKE_C_PLATFORM_ID "") 14 | set(CMAKE_C_SIMULATE_ID "") 15 | set(CMAKE_C_SIMULATE_VERSION "") 16 | 17 | 18 | 19 | set(CMAKE_AR "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar") 20 | set(CMAKE_C_COMPILER_AR "CMAKE_C_COMPILER_AR-NOTFOUND") 21 | set(CMAKE_RANLIB "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ranlib") 22 | set(CMAKE_C_COMPILER_RANLIB "CMAKE_C_COMPILER_RANLIB-NOTFOUND") 23 | set(CMAKE_LINKER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld") 24 | set(CMAKE_COMPILER_IS_GNUCC ) 25 | set(CMAKE_C_COMPILER_LOADED 1) 26 | set(CMAKE_C_COMPILER_WORKS TRUE) 27 | set(CMAKE_C_ABI_COMPILED TRUE) 28 | set(CMAKE_COMPILER_IS_MINGW ) 29 | set(CMAKE_COMPILER_IS_CYGWIN ) 30 | if(CMAKE_COMPILER_IS_CYGWIN) 31 | set(CYGWIN 1) 32 | set(UNIX 1) 33 | endif() 34 | 35 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 36 | 37 | if(CMAKE_COMPILER_IS_MINGW) 38 | set(MINGW 1) 39 | endif() 40 | set(CMAKE_C_COMPILER_ID_RUN 1) 41 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 42 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 43 | set(CMAKE_C_LINKER_PREFERENCE 10) 44 | 45 | # Save compiler ABI information. 46 | set(CMAKE_C_SIZEOF_DATA_PTR "8") 47 | set(CMAKE_C_COMPILER_ABI "ELF") 48 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 49 | 50 | if(CMAKE_C_SIZEOF_DATA_PTR) 51 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 52 | endif() 53 | 54 | if(CMAKE_C_COMPILER_ABI) 55 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 56 | endif() 57 | 58 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 59 | set(CMAKE_LIBRARY_ARCHITECTURE "") 60 | endif() 61 | 62 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 63 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 64 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 65 | endif() 66 | 67 | 68 | 69 | 70 | 71 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;dl;c;gcc;dl") 72 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/9.0.8/lib/linux/aarch64;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/aarch64-linux-android/4.9.x;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/aarch64-linux-android/lib64;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/21;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/aarch64-linux-android/lib;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib") 73 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 74 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'dart:async'; 2 | 3 | import 'package:flutter/foundation.dart'; 4 | import 'package:flutter/material.dart'; 5 | import 'package:flutter_integrations/platform/service.dart'; 6 | import 'package:flutter_integrations/platform/dummy/platform_view_dummy.dart' 7 | if (dart.library.html) 'package:flutter_integrations/platform/web/platform_view_web.dart' 8 | if (dart.library.io) 'package:flutter_integrations/platform/mobile/platform_view_mobile.dart'; 9 | 10 | void main() { 11 | runApp(const MyApp()); 12 | } 13 | 14 | class MyApp extends StatelessWidget { 15 | const MyApp({Key? key}) : super(key: key); 16 | 17 | // This widget is the root of your application. 18 | @override 19 | Widget build(BuildContext context) { 20 | return MaterialApp( 21 | title: 'Flutter Demo', 22 | theme: ThemeData( 23 | primarySwatch: Colors.blue, 24 | ), 25 | home: const MyHomePage(title: 'Flutter Demo Home Page'), 26 | ); 27 | } 28 | } 29 | 30 | class MyHomePage extends StatefulWidget { 31 | const MyHomePage({Key? key, required this.title}) : super(key: key); 32 | 33 | final String title; 34 | 35 | @override 36 | State createState() => _MyHomePageState(); 37 | } 38 | 39 | class _MyHomePageState extends State { 40 | int _platformValue = 0; 41 | bool _hybridComposition = false; 42 | StreamSubscription? _subscription; 43 | final service = getService(); 44 | 45 | @override 46 | Widget build(BuildContext context) { 47 | final style = Theme.of(context).textTheme.headline6; 48 | return Scaffold( 49 | appBar: AppBar( 50 | title: Text(widget.title), 51 | ), 52 | body: Center( 53 | child: Column( 54 | mainAxisAlignment: MainAxisAlignment.center, 55 | children: [ 56 | Text( 57 | 'UI component from platform:', 58 | style: style, 59 | ), 60 | Center( 61 | child: Padding( 62 | padding: const EdgeInsets.symmetric(vertical: 20.0), 63 | child: PlatformWidget( 64 | hybridComposition: _hybridComposition, 65 | ), 66 | ), 67 | ), 68 | Text( 69 | 'Stream from platform:', 70 | style: style, 71 | ), 72 | StreamBuilder( 73 | stream: service.getStream(), 74 | builder: (context, snapshot) => Text( 75 | '${snapshot.hasData ? snapshot.data : 'No data'}', 76 | style: style, 77 | ), 78 | ), 79 | Text( 80 | 'Value from platform:', 81 | style: style, 82 | ), 83 | Text( 84 | '$_platformValue', 85 | style: style, 86 | ), 87 | ], 88 | ), 89 | ), 90 | floatingActionButton: Column(mainAxisAlignment: MainAxisAlignment.end, children: [ 91 | FloatingActionButton( 92 | onPressed: _getValue, 93 | child: const Icon(Icons.get_app), 94 | ), 95 | const SizedBox( 96 | height: 10, 97 | ), 98 | if (defaultTargetPlatform == TargetPlatform.android) 99 | FloatingActionButton( 100 | onPressed: _changeComposition, 101 | child: const Icon(Icons.replay), 102 | ), 103 | ]), // This trailing comma makes auto-formatting nicer for build methods. 104 | ); 105 | } 106 | 107 | void _changeComposition() { 108 | setState(() { 109 | _hybridComposition = !_hybridComposition; 110 | }); 111 | } 112 | 113 | void _getValue() { 114 | final value = service.getValue(); 115 | setState(() { 116 | _platformValue = value; 117 | }); 118 | } 119 | 120 | @override 121 | void dispose() { 122 | _subscription?.cancel(); 123 | super.dispose(); 124 | } 125 | } 126 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_integrations 2 | description: A new Flutter project. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `flutter pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.2 19 | 20 | environment: 21 | sdk: ">=2.12.0 <3.0.0" 22 | 23 | # Dependencies specify other packages that your package needs in order to work. 24 | # To automatically upgrade your package dependencies to the latest versions 25 | # consider running `flutter pub upgrade --major-versions`. Alternatively, 26 | # dependencies can be manually updated by changing the version numbers below to 27 | # the latest version available on pub.dev. To see which dependencies have newer 28 | # versions available, run `flutter pub outdated`. 29 | dependencies: 30 | flutter: 31 | sdk: flutter 32 | ffi: ^2.0.1 33 | js: ^0.6.5 34 | 35 | 36 | # The following adds the Cupertino Icons font to your application. 37 | # Use with the CupertinoIcons class for iOS style icons. 38 | cupertino_icons: ^1.0.5 39 | 40 | dev_dependencies: 41 | flutter_test: 42 | sdk: flutter 43 | 44 | # The "flutter_lints" package below contains a set of recommended lints to 45 | # encourage good coding practices. The lint set provided by the package is 46 | # activated in the `analysis_options.yaml` file located at the root of your 47 | # package. See that file for information about deactivating specific lint 48 | # rules and activating additional ones. 49 | flutter_lints: ^2.0.1 50 | 51 | # For information on the generic Dart part of this file, see the 52 | # following page: https://dart.dev/tools/pub/pubspec 53 | 54 | # The following section is specific to Flutter. 55 | flutter: 56 | 57 | # The following line ensures that the Material Icons font is 58 | # included with your application, so that you can use the icons in 59 | # the material Icons class. 60 | uses-material-design: true 61 | 62 | # To add assets to your application, add an assets section, like this: 63 | # assets: 64 | # - images/a_dot_burr.jpeg 65 | # - images/a_dot_ham.jpeg 66 | 67 | # An image asset can refer to one or more resolution-specific "variants", see 68 | # https://flutter.dev/assets-and-images/#resolution-aware. 69 | 70 | # For details regarding adding assets from package dependencies, see 71 | # https://flutter.dev/assets-and-images/#from-packages 72 | 73 | # To add custom fonts to your application, add a fonts section here, 74 | # in this "flutter" section. Each entry in this list should have a 75 | # "family" key with the font family name, and a "fonts" key with a 76 | # list giving the asset and other descriptors for the font. For 77 | # example: 78 | # fonts: 79 | # - family: Schyler 80 | # fonts: 81 | # - asset: fonts/Schyler-Regular.ttf 82 | # - asset: fonts/Schyler-Italic.ttf 83 | # style: italic 84 | # - family: Trajan Pro 85 | # fonts: 86 | # - asset: fonts/TrajanPro.ttf 87 | # - asset: fonts/TrajanPro_Bold.ttf 88 | # weight: 700 89 | # 90 | # For details regarding fonts from package dependencies, 91 | # see https://flutter.dev/custom-fonts/#from-packages 92 | -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | integrations 30 | 31 | 32 | 33 | 34 | 37 | 101 | 102 | 103 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | async: 5 | dependency: transitive 6 | description: 7 | name: async 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.9.0" 11 | boolean_selector: 12 | dependency: transitive 13 | description: 14 | name: boolean_selector 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "2.1.0" 18 | characters: 19 | dependency: transitive 20 | description: 21 | name: characters 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "1.2.1" 25 | clock: 26 | dependency: transitive 27 | description: 28 | name: clock 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.1.1" 32 | collection: 33 | dependency: transitive 34 | description: 35 | name: collection 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "1.16.0" 39 | cupertino_icons: 40 | dependency: "direct main" 41 | description: 42 | name: cupertino_icons 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "1.0.5" 46 | fake_async: 47 | dependency: transitive 48 | description: 49 | name: fake_async 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.3.1" 53 | ffi: 54 | dependency: "direct main" 55 | description: 56 | name: ffi 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "2.0.1" 60 | flutter: 61 | dependency: "direct main" 62 | description: flutter 63 | source: sdk 64 | version: "0.0.0" 65 | flutter_lints: 66 | dependency: "direct dev" 67 | description: 68 | name: flutter_lints 69 | url: "https://pub.dartlang.org" 70 | source: hosted 71 | version: "2.0.1" 72 | flutter_test: 73 | dependency: "direct dev" 74 | description: flutter 75 | source: sdk 76 | version: "0.0.0" 77 | js: 78 | dependency: "direct main" 79 | description: 80 | name: js 81 | url: "https://pub.dartlang.org" 82 | source: hosted 83 | version: "0.6.5" 84 | lints: 85 | dependency: transitive 86 | description: 87 | name: lints 88 | url: "https://pub.dartlang.org" 89 | source: hosted 90 | version: "2.0.1" 91 | matcher: 92 | dependency: transitive 93 | description: 94 | name: matcher 95 | url: "https://pub.dartlang.org" 96 | source: hosted 97 | version: "0.12.12" 98 | material_color_utilities: 99 | dependency: transitive 100 | description: 101 | name: material_color_utilities 102 | url: "https://pub.dartlang.org" 103 | source: hosted 104 | version: "0.1.5" 105 | meta: 106 | dependency: transitive 107 | description: 108 | name: meta 109 | url: "https://pub.dartlang.org" 110 | source: hosted 111 | version: "1.8.0" 112 | path: 113 | dependency: transitive 114 | description: 115 | name: path 116 | url: "https://pub.dartlang.org" 117 | source: hosted 118 | version: "1.8.2" 119 | sky_engine: 120 | dependency: transitive 121 | description: flutter 122 | source: sdk 123 | version: "0.0.99" 124 | source_span: 125 | dependency: transitive 126 | description: 127 | name: source_span 128 | url: "https://pub.dartlang.org" 129 | source: hosted 130 | version: "1.9.0" 131 | stack_trace: 132 | dependency: transitive 133 | description: 134 | name: stack_trace 135 | url: "https://pub.dartlang.org" 136 | source: hosted 137 | version: "1.10.0" 138 | stream_channel: 139 | dependency: transitive 140 | description: 141 | name: stream_channel 142 | url: "https://pub.dartlang.org" 143 | source: hosted 144 | version: "2.1.0" 145 | string_scanner: 146 | dependency: transitive 147 | description: 148 | name: string_scanner 149 | url: "https://pub.dartlang.org" 150 | source: hosted 151 | version: "1.1.1" 152 | term_glyph: 153 | dependency: transitive 154 | description: 155 | name: term_glyph 156 | url: "https://pub.dartlang.org" 157 | source: hosted 158 | version: "1.2.1" 159 | test_api: 160 | dependency: transitive 161 | description: 162 | name: test_api 163 | url: "https://pub.dartlang.org" 164 | source: hosted 165 | version: "0.4.12" 166 | vector_math: 167 | dependency: transitive 168 | description: 169 | name: vector_math 170 | url: "https://pub.dartlang.org" 171 | source: hosted 172 | version: "2.1.2" 173 | sdks: 174 | dart: ">=2.17.0 <3.0.0" 175 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_CXX_COMPILER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++") 2 | set(CMAKE_CXX_COMPILER_ARG1 "") 3 | set(CMAKE_CXX_COMPILER_ID "Clang") 4 | set(CMAKE_CXX_COMPILER_VERSION "9.0") 5 | set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") 6 | set(CMAKE_CXX_COMPILER_WRAPPER "") 7 | set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") 8 | set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17") 9 | set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") 10 | set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") 11 | set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") 12 | set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") 13 | 14 | set(CMAKE_CXX_PLATFORM_ID "") 15 | set(CMAKE_CXX_SIMULATE_ID "") 16 | set(CMAKE_CXX_SIMULATE_VERSION "") 17 | 18 | 19 | 20 | set(CMAKE_AR "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ar") 21 | set(CMAKE_CXX_COMPILER_AR "CMAKE_CXX_COMPILER_AR-NOTFOUND") 22 | set(CMAKE_RANLIB "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ranlib") 23 | set(CMAKE_CXX_COMPILER_RANLIB "CMAKE_CXX_COMPILER_RANLIB-NOTFOUND") 24 | set(CMAKE_LINKER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ld") 25 | set(CMAKE_COMPILER_IS_GNUCXX ) 26 | set(CMAKE_CXX_COMPILER_LOADED 1) 27 | set(CMAKE_CXX_COMPILER_WORKS TRUE) 28 | set(CMAKE_CXX_ABI_COMPILED TRUE) 29 | set(CMAKE_COMPILER_IS_MINGW ) 30 | set(CMAKE_COMPILER_IS_CYGWIN ) 31 | if(CMAKE_COMPILER_IS_CYGWIN) 32 | set(CYGWIN 1) 33 | set(UNIX 1) 34 | endif() 35 | 36 | set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") 37 | 38 | if(CMAKE_COMPILER_IS_MINGW) 39 | set(MINGW 1) 40 | endif() 41 | set(CMAKE_CXX_COMPILER_ID_RUN 1) 42 | set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) 43 | set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP) 44 | set(CMAKE_CXX_LINKER_PREFERENCE 30) 45 | set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) 46 | 47 | # Save compiler ABI information. 48 | set(CMAKE_CXX_SIZEOF_DATA_PTR "4") 49 | set(CMAKE_CXX_COMPILER_ABI "ELF") 50 | set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") 51 | 52 | if(CMAKE_CXX_SIZEOF_DATA_PTR) 53 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") 54 | endif() 55 | 56 | if(CMAKE_CXX_COMPILER_ABI) 57 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") 58 | endif() 59 | 60 | if(CMAKE_CXX_LIBRARY_ARCHITECTURE) 61 | set(CMAKE_LIBRARY_ARCHITECTURE "") 62 | endif() 63 | 64 | set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") 65 | if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) 66 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") 67 | endif() 68 | 69 | 70 | 71 | 72 | 73 | set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "c++;m;gcc;dl;c;gcc;dl") 74 | set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/9.0.8/lib/linux/i386;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/i686-linux-android/4.9.x;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/i686-linux-android/19;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/i686-linux-android;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/i686-linux-android/lib;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib") 75 | set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 76 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_CXX_COMPILER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++") 2 | set(CMAKE_CXX_COMPILER_ARG1 "") 3 | set(CMAKE_CXX_COMPILER_ID "Clang") 4 | set(CMAKE_CXX_COMPILER_VERSION "9.0") 5 | set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") 6 | set(CMAKE_CXX_COMPILER_WRAPPER "") 7 | set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") 8 | set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17") 9 | set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") 10 | set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") 11 | set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") 12 | set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") 13 | 14 | set(CMAKE_CXX_PLATFORM_ID "") 15 | set(CMAKE_CXX_SIMULATE_ID "") 16 | set(CMAKE_CXX_SIMULATE_VERSION "") 17 | 18 | 19 | 20 | set(CMAKE_AR "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar") 21 | set(CMAKE_CXX_COMPILER_AR "CMAKE_CXX_COMPILER_AR-NOTFOUND") 22 | set(CMAKE_RANLIB "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ranlib") 23 | set(CMAKE_CXX_COMPILER_RANLIB "CMAKE_CXX_COMPILER_RANLIB-NOTFOUND") 24 | set(CMAKE_LINKER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ld") 25 | set(CMAKE_COMPILER_IS_GNUCXX ) 26 | set(CMAKE_CXX_COMPILER_LOADED 1) 27 | set(CMAKE_CXX_COMPILER_WORKS TRUE) 28 | set(CMAKE_CXX_ABI_COMPILED TRUE) 29 | set(CMAKE_COMPILER_IS_MINGW ) 30 | set(CMAKE_COMPILER_IS_CYGWIN ) 31 | if(CMAKE_COMPILER_IS_CYGWIN) 32 | set(CYGWIN 1) 33 | set(UNIX 1) 34 | endif() 35 | 36 | set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") 37 | 38 | if(CMAKE_COMPILER_IS_MINGW) 39 | set(MINGW 1) 40 | endif() 41 | set(CMAKE_CXX_COMPILER_ID_RUN 1) 42 | set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) 43 | set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP) 44 | set(CMAKE_CXX_LINKER_PREFERENCE 30) 45 | set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) 46 | 47 | # Save compiler ABI information. 48 | set(CMAKE_CXX_SIZEOF_DATA_PTR "4") 49 | set(CMAKE_CXX_COMPILER_ABI "ELF") 50 | set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") 51 | 52 | if(CMAKE_CXX_SIZEOF_DATA_PTR) 53 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") 54 | endif() 55 | 56 | if(CMAKE_CXX_COMPILER_ABI) 57 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") 58 | endif() 59 | 60 | if(CMAKE_CXX_LIBRARY_ARCHITECTURE) 61 | set(CMAKE_LIBRARY_ARCHITECTURE "") 62 | endif() 63 | 64 | set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") 65 | if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) 66 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") 67 | endif() 68 | 69 | 70 | 71 | 72 | 73 | set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "c++;m;gcc;dl;c;gcc;dl") 74 | set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/9.0.8/lib/linux/arm;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/thumb;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/arm-linux-androideabi/lib/armv7-a/thumb;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi/19;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib") 75 | set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 76 | -------------------------------------------------------------------------------- /android/app/.cxx/cmake/debug/x86_64/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_CXX_COMPILER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++") 2 | set(CMAKE_CXX_COMPILER_ARG1 "") 3 | set(CMAKE_CXX_COMPILER_ID "Clang") 4 | set(CMAKE_CXX_COMPILER_VERSION "9.0") 5 | set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") 6 | set(CMAKE_CXX_COMPILER_WRAPPER "") 7 | set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") 8 | set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17") 9 | set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") 10 | set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") 11 | set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") 12 | set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") 13 | 14 | set(CMAKE_CXX_PLATFORM_ID "") 15 | set(CMAKE_CXX_SIMULATE_ID "") 16 | set(CMAKE_CXX_SIMULATE_VERSION "") 17 | 18 | 19 | 20 | set(CMAKE_AR "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/x86_64-linux-android-ar") 21 | set(CMAKE_CXX_COMPILER_AR "CMAKE_CXX_COMPILER_AR-NOTFOUND") 22 | set(CMAKE_RANLIB "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/x86_64-linux-android-ranlib") 23 | set(CMAKE_CXX_COMPILER_RANLIB "CMAKE_CXX_COMPILER_RANLIB-NOTFOUND") 24 | set(CMAKE_LINKER "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/bin/x86_64-linux-android-ld") 25 | set(CMAKE_COMPILER_IS_GNUCXX ) 26 | set(CMAKE_CXX_COMPILER_LOADED 1) 27 | set(CMAKE_CXX_COMPILER_WORKS TRUE) 28 | set(CMAKE_CXX_ABI_COMPILED TRUE) 29 | set(CMAKE_COMPILER_IS_MINGW ) 30 | set(CMAKE_COMPILER_IS_CYGWIN ) 31 | if(CMAKE_COMPILER_IS_CYGWIN) 32 | set(CYGWIN 1) 33 | set(UNIX 1) 34 | endif() 35 | 36 | set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") 37 | 38 | if(CMAKE_COMPILER_IS_MINGW) 39 | set(MINGW 1) 40 | endif() 41 | set(CMAKE_CXX_COMPILER_ID_RUN 1) 42 | set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) 43 | set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP) 44 | set(CMAKE_CXX_LINKER_PREFERENCE 30) 45 | set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) 46 | 47 | # Save compiler ABI information. 48 | set(CMAKE_CXX_SIZEOF_DATA_PTR "8") 49 | set(CMAKE_CXX_COMPILER_ABI "ELF") 50 | set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") 51 | 52 | if(CMAKE_CXX_SIZEOF_DATA_PTR) 53 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") 54 | endif() 55 | 56 | if(CMAKE_CXX_COMPILER_ABI) 57 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") 58 | endif() 59 | 60 | if(CMAKE_CXX_LIBRARY_ARCHITECTURE) 61 | set(CMAKE_LIBRARY_ARCHITECTURE "") 62 | endif() 63 | 64 | set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") 65 | if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) 66 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") 67 | endif() 68 | 69 | 70 | 71 | 72 | 73 | set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "c++;m;gcc;dl;c;gcc;dl") 74 | set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/9.0.8/lib/linux/x86_64;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/x86_64-linux-android/4.9.x;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/x86_64-linux-android/lib64;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/x86_64-linux-android/21;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/x86_64-linux-android;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/x86_64-linux-android/lib;/Users/Aleksandr_Denisov/Library/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib") 75 | set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 76 | --------------------------------------------------------------------------------