diff --git a/.rive_head b/.rive_head index 18664aed..78174cda 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -49bf612fd8e1e2ec4caecdc45ada328ea5cfbab2 +71ec9987ae4bc3fa16dea441daab37158d2f9482 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6894818f..2c424019 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## 0.13.13 + +- Update Android `minSdkVersion` from 16 to 19 +- Update `kotlin_version` from '1.6.10' to '1.7.10' +- Specify the Android NDK version Rive should use by setting `rive.ndk.version` in `gradle.properties`. For example: `rive.ndk.version=26.3.11579264`. See issue [398](https://github.com/rive-app/rive-flutter/issues/398). +- Expand supported `web` package range to `web: ">=0.5.1 <2.0.0"`. Resolves issues [413](https://github.com/rive-app/rive-flutter/issues/413) and [415](https://github.com/rive-app/rive-flutter/issues/415). +- Fix iOS audio issue, see [416](https://github.com/rive-app/rive-flutter/issues/416) +- Various other fixes and improvements to support new Editor features + ## 0.13.12 - Fix [410](https://github.com/rive-app/rive-flutter/issues/410) Rive not compatible with Flutter web. diff --git a/example/ios/Flutter/AppFrameworkInfo.plist b/example/ios/Flutter/AppFrameworkInfo.plist index 4f8d4d24..8c6e5614 100644 --- a/example/ios/Flutter/AppFrameworkInfo.plist +++ b/example/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 11.0 + 12.0 diff --git a/example/ios/Podfile b/example/ios/Podfile index 88359b22..279576f3 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -# platform :ios, '11.0' +# platform :ios, '12.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index e60d5980..d64f28aa 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,41 +1,28 @@ PODS: - - audio_session (0.0.1): - - Flutter - Flutter (1.0.0) - - just_audio (0.0.1): - - Flutter - - path_provider_foundation (0.0.1): - - Flutter - - FlutterMacOS - rive_common (0.0.1): - Flutter + - url_launcher_ios (0.0.1): + - Flutter DEPENDENCIES: - - audio_session (from `.symlinks/plugins/audio_session/ios`) - Flutter (from `Flutter`) - - just_audio (from `.symlinks/plugins/just_audio/ios`) - - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) - rive_common (from `.symlinks/plugins/rive_common/ios`) + - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) EXTERNAL SOURCES: - audio_session: - :path: ".symlinks/plugins/audio_session/ios" Flutter: :path: Flutter - just_audio: - :path: ".symlinks/plugins/just_audio/ios" - path_provider_foundation: - :path: ".symlinks/plugins/path_provider_foundation/darwin" rive_common: :path: ".symlinks/plugins/rive_common/ios" + url_launcher_ios: + :path: ".symlinks/plugins/url_launcher_ios/ios" SPEC CHECKSUMS: - audio_session: 4f3e461722055d21515cf3261b64c973c062f345 - Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 - just_audio: baa7252489dbcf47a4c7cc9ca663e9661c99aafa - path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943 - rive_common: 8a159d68033a8b073e5853acc50f03aa486a2888 + Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 + rive_common: cbbac3192af00d7341f19dae2f26298e9e37d99e + url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe -PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3 +PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011 -COCOAPODS: 1.11.3 +COCOAPODS: 1.15.2 diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 20974bd3..20dc5721 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -163,7 +163,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1510; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { @@ -207,10 +207,12 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", ); name = "Thin Binary"; outputPaths = ( @@ -238,6 +240,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -347,7 +350,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -433,7 +436,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -482,7 +485,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; diff --git a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..e67b2808 100644 --- a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ CADisableMinimumFrameDurationOnPhone + UIApplicationSupportsIndirectInputEvents + diff --git a/example/macos/Podfile.lock b/example/macos/Podfile.lock index 190ddb33..6b461fbc 100644 --- a/example/macos/Podfile.lock +++ b/example/macos/Podfile.lock @@ -1,47 +1,28 @@ PODS: - - audio_session (0.0.1): - - FlutterMacOS - FlutterMacOS (1.0.0) - - just_audio (0.0.1): - - FlutterMacOS - - path_provider_foundation (0.0.1): - - Flutter - - FlutterMacOS - rive_common (0.0.1): - FlutterMacOS - url_launcher_macos (0.0.1): - FlutterMacOS DEPENDENCIES: - - audio_session (from `Flutter/ephemeral/.symlinks/plugins/audio_session/macos`) - FlutterMacOS (from `Flutter/ephemeral`) - - just_audio (from `Flutter/ephemeral/.symlinks/plugins/just_audio/macos`) - - path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`) - rive_common (from `Flutter/ephemeral/.symlinks/plugins/rive_common/macos`) - url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`) EXTERNAL SOURCES: - audio_session: - :path: Flutter/ephemeral/.symlinks/plugins/audio_session/macos FlutterMacOS: :path: Flutter/ephemeral - just_audio: - :path: Flutter/ephemeral/.symlinks/plugins/just_audio/macos - path_provider_foundation: - :path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin rive_common: :path: Flutter/ephemeral/.symlinks/plugins/rive_common/macos url_launcher_macos: :path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos SPEC CHECKSUMS: - audio_session: dea1f41890dbf1718f04a56f1d6150fd50039b72 FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 - just_audio: 9b67ca7b97c61cfc9784ea23cd8cc55eb226d489 - path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943 - rive_common: 0f0aadf670f0c6a7872dfe3e6186f112a5319108 - url_launcher_macos: d2691c7dd33ed713bf3544850a623080ec693d95 + rive_common: cf5ab646aa576b2d742d0e2d528126fbf032c856 + url_launcher_macos: 5f437abeda8c85500ceb03f5c1938a8c5a705399 PODFILE CHECKSUM: 353c8bcc5d5b0994e508d035b5431cfe18c1dea7 -COCOAPODS: 1.11.3 +COCOAPODS: 1.15.2 diff --git a/example/macos/Runner.xcodeproj/project.pbxproj b/example/macos/Runner.xcodeproj/project.pbxproj index 43aea929..92011119 100644 --- a/example/macos/Runner.xcodeproj/project.pbxproj +++ b/example/macos/Runner.xcodeproj/project.pbxproj @@ -203,7 +203,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1510; ORGANIZATIONNAME = ""; TargetAttributes = { 33CC10EC2044A3C60003C045 = { diff --git a/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index fb7259e1..5b055a3a 100644 --- a/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ Bool { return true diff --git a/lib/rive_web.dart b/lib/rive_web.dart index ce5c7800..187c2e57 100644 --- a/lib/rive_web.dart +++ b/lib/rive_web.dart @@ -3,6 +3,8 @@ // package as the core of your plugin. // ignore: avoid_web_libraries_in_flutter +// ignore_for_file: avoid_classes_with_only_static_members + import 'package:flutter_web_plugins/flutter_web_plugins.dart'; /// A web implementation of the RivePlatform of the Rive plugin. diff --git a/lib/src/rive_core/data_bind/data_bind.dart b/lib/src/rive_core/data_bind/data_bind.dart index 126dbf5a..52c80b88 100644 --- a/lib/src/rive_core/data_bind/data_bind.dart +++ b/lib/src/rive_core/data_bind/data_bind.dart @@ -49,6 +49,7 @@ class DataBind extends DataBindBase { } @override + // ignore: override_on_non_overriding_member void targetIdChanged(int from, int to) { // TODO: @hernan implement nameChanged } diff --git a/pubspec.yaml b/pubspec.yaml index 7bddd41f..e1d3d54d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: rive -version: 0.13.12 +version: 0.13.13 homepage: https://rive.app description: Rive Flutter Runtime. This package provides runtime functionality for playing back and interacting with animations built with the Rive editor available at https://rive.app. repository: https://github.com/rive-app/rive-flutter @@ -21,7 +21,7 @@ dependencies: http: ">=0.13.3 <2.0.0" meta: ^1.3.0 plugin_platform_interface: ^2.0.2 - rive_common: 0.4.10 + rive_common: 0.4.11 dev_dependencies: flutter_test: sdk: flutter