Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
pump version numberzz
Browse files Browse the repository at this point in the history
  • Loading branch information
nourhelmi committed Nov 30, 2022
1 parent e1292e5 commit 84bca20
Show file tree
Hide file tree
Showing 13 changed files with 53 additions and 91 deletions.
47 changes: 2 additions & 45 deletions brightcove_android/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
brightcove_android:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "0.1.0"
brightcove_flutter:
dependency: "direct main"
description:
path: "../../brightcove_flutter"
relative: true
source: path
version: "0.1.0"
brightcove_flutter_platform_interface:
dependency: transitive
description:
path: "../../brightcove_flutter_platform_interface"
relative: true
source: path
version: "0.0.1"
brightcove_ios:
dependency: transitive
description:
path: "../../brightcove_ios"
relative: true
source: path
version: "0.1.0"
characters:
dependency: transitive
description:
Expand All @@ -64,13 +36,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.16.0"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.5"
fake_async:
dependency: transitive
description:
Expand All @@ -79,7 +44,7 @@ packages:
source: hosted
version: "1.3.1"
flutter:
dependency: "direct main"
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
Expand Down Expand Up @@ -130,13 +95,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.2"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.2"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -192,5 +150,4 @@ packages:
source: hosted
version: "2.1.2"
sdks:
dart: ">=2.18.2 <3.0.0"
flutter: ">=2.5.0"
dart: ">=2.18.0 <3.0.0"
2 changes: 1 addition & 1 deletion brightcove_android/lib/src/android_brightcove_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class BrightcoveAndroidPlatform extends BrightcoveFlutterPlatform {
case 'playProgress':
return VideoEvent(
eventType: VideoEventType.playProgress,
currentPosition: map['position'] as int,
currentPosition: map['position'] as int?,
);
case 'completed':
return VideoEvent(eventType: VideoEventType.completed);
Expand Down
1 change: 0 additions & 1 deletion brightcove_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dependencies:
git:
url: https://github.com/Genieology/brightcove_flutter.git
path: brightcove_flutter_platform_interface
ref: v0.1.8

dev_dependencies:
flutter_test:
Expand Down
26 changes: 19 additions & 7 deletions brightcove_flutter/example/.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# This file should be version controlled.

version:
revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
channel: stable

project_type: app
Expand All @@ -13,14 +13,26 @@ project_type: app
migration:
platforms:
- platform: root
create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
create_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
base_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
- platform: android
create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
create_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
base_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
- platform: ios
create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
create_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
base_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
- platform: linux
create_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
base_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
- platform: macos
create_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
base_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
- platform: web
create_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
base_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
- platform: windows
create_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4
base_revision: e99c9c7cd9f6c0b2f8ae6e3ebfd585239f5568f4

# User provided section

Expand Down
12 changes: 6 additions & 6 deletions brightcove_flutter/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ class _MyHomePageState extends State<MyHomePage> {
PlayerWidget(
key: UniqueKey(),
),
PlayerWidget(
key: UniqueKey(),
),
// PlayerWidget(
// key: UniqueKey(),
// ),
],
), // This trailing comma makes auto-formatting nicer for build methods.
);
Expand All @@ -52,12 +52,12 @@ class PlayerWidget extends StatefulWidget {

class _PlayerWidgetState extends State<PlayerWidget> {
late final BrightcoveVideoPlayerController _controller =
BrightcoveVideoPlayerController.playVideoById(
BrightcoveVideoPlayerController.playVideoById(
widget.videoId ?? '6311532572112',
options: BrightcoveOptions(
account: "6314458267001",
policy:
"BCpkADawqM3B3oh6cCokobfYe88EwiIADRJ0_8IuKI4GbwP4LN-MzKbgX40HDjJvBEon1ZRmX6krlKOjum8CfTjHuYMUebWTcPKlAZgxlp8H7JJJRNaqGJ9SAy-tTpV_qXAKrYHONp8PQ0m5",
"BCpkADawqM3B3oh6cCokobfYe88EwiIADRJ0_8IuKI4GbwP4LN-MzKbgX40HDjJvBEon1ZRmX6krlKOjum8CfTjHuYMUebWTcPKlAZgxlp8H7JJJRNaqGJ9SAy-tTpV_qXAKrYHONp8PQ0m5",
),
);

Expand Down Expand Up @@ -98,4 +98,4 @@ class _PlayerWidgetState extends State<PlayerWidget> {
),
);
}
}
}
26 changes: 10 additions & 16 deletions brightcove_flutter/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ packages:
brightcove_android:
dependency: transitive
description:
path: brightcove_android
ref: "v0.1.5"
resolved-ref: "3a975082bb42f63f98f5e607c63aee9e4a212519"
url: "https://github.com/Genieology/brightcove_flutter.git"
source: git
path: "../../brightcove_android"
relative: true
source: path
version: "0.1.0"
brightcove_flutter:
dependency: "direct main"
Expand All @@ -34,20 +32,16 @@ packages:
brightcove_flutter_platform_interface:
dependency: transitive
description:
path: brightcove_flutter_platform_interface
ref: HEAD
resolved-ref: "3a975082bb42f63f98f5e607c63aee9e4a212519"
url: "https://github.com/Genieology/brightcove_flutter.git"
source: git
version: "0.0.1"
path: "../../brightcove_flutter_platform_interface"
relative: true
source: path
version: "0.0.2"
brightcove_ios:
dependency: transitive
description:
path: brightcove_ios
ref: "v0.1.5"
resolved-ref: "3a975082bb42f63f98f5e607c63aee9e4a212519"
url: "https://github.com/Genieology/brightcove_flutter.git"
source: git
path: "../../brightcove_ios"
relative: true
source: path
version: "0.1.0"
characters:
dependency: transitive
Expand Down
2 changes: 1 addition & 1 deletion brightcove_flutter/lib/brightcove_flutter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class BrightcoveVideoPlayerController extends ValueNotifier<VideoPlayerValue> {
print("[listener][position]${event.currentPosition}");
value = value.copyWith(
position: Duration(
milliseconds: ((event.currentPosition ?? 0)),
milliseconds: ((event.currentPosition ?? 0) as int),
));
break;
case VideoEventType.completed:
Expand Down
7 changes: 3 additions & 4 deletions brightcove_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,20 @@ dependencies:
git:
url: https://github.com/Genieology/brightcove_flutter.git
path: brightcove_android
ref: v0.1.8
ref: v0.2.0
brightcove_ios:
# path: ../brightcove_ios
git:
url: https://github.com/Genieology/brightcove_flutter.git
path: brightcove_ios
ref: v0.1.8
ref: v0.2.0

dependency_overrides:
brightcove_flutter_platform_interface:
# path: ../brightcove_flutter_platform_interface
path: ../brightcove_flutter_platform_interface
git:
url: https://github.com/Genieology/brightcove_flutter.git
path: brightcove_flutter_platform_interface
ref: v0.1.8

dev_dependencies:
flutter_test:
Expand Down
14 changes: 8 additions & 6 deletions brightcove_ios/example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 51;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -68,7 +68,6 @@
FCD4F3970E7DD5199D513582 /* Pods-Runner.release.xcconfig */,
3243C21D713A2E647CC57394 /* Pods-Runner.profile.xcconfig */,
);
name = Pods;
path = Pods;
sourceTree = "<group>";
};
Expand Down Expand Up @@ -157,7 +156,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1300;
LastUpgradeCheck = 1410;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
Expand Down Expand Up @@ -340,6 +339,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -358,7 +358,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;
Expand Down Expand Up @@ -412,6 +412,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -436,7 +437,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;
Expand Down Expand Up @@ -467,6 +468,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -485,7 +487,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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1300"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion brightcove_ios/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ packages:
path: "../../brightcove_flutter_platform_interface"
relative: true
source: path
version: "0.0.1"
version: "0.0.2"
brightcove_ios:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion brightcove_ios/lib/brightcove_ios.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class BrightcoveIosPlatform extends BrightcoveFlutterPlatform {
(map['position'] == null ||
map['position'] == double.negativeInfinity ||
map['position'] == double.infinity)
? 0
? (0 as int)
: ((map['position'] as double) * 1000).toInt(),
);
case 'completed':
Expand Down
1 change: 0 additions & 1 deletion brightcove_ios/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dependencies:
git:
url: https://github.com/Genieology/brightcove_flutter.git
path: brightcove_flutter_platform_interface
ref: v0.1.8

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit 84bca20

Please sign in to comment.