Skip to content

Commit

Permalink
Merge pull request #59 from apivideo/feature/new-analytics
Browse files Browse the repository at this point in the history
feat(player): move to new analytics endpoint
  • Loading branch information
ThibaultBee authored Jul 26, 2024
2 parents b376e54 + 76472d7 commit a0cc8c7
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 14 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ android {
}

dependencies {
implementation 'video.api:android-player:1.5.1'
implementation 'video.api:android-player:1.6.0'
}
2 changes: 2 additions & 0 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ android {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
}
}
Expand Down
22 changes: 22 additions & 0 deletions example/android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-dontwarn org.slf4j.impl.StaticLoggerBinder
14 changes: 7 additions & 7 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PODS:
- apivideo_player (0.0.1):
- ApiVideoPlayer (= 1.2.0)
- ApiVideoPlayer (= 1.3.0)
- Flutter
- ApiVideoPlayer (1.2.0):
- ApiVideoPlayerAnalytics (= 1.1.1)
- ApiVideoPlayerAnalytics (1.1.1)
- ApiVideoPlayer (1.3.0):
- ApiVideoPlayerAnalytics (= 2.0.0)
- ApiVideoPlayerAnalytics (2.0.0)
- Flutter (1.0.0)
- pointer_interceptor_ios (0.0.1):
- Flutter
Expand All @@ -28,9 +28,9 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/pointer_interceptor_ios/ios"

SPEC CHECKSUMS:
apivideo_player: 1bc03dc30c624f1c49e54dd1112494a5a68476e3
ApiVideoPlayer: b481969aaea0be3c7edf9e0191a6587db449295a
ApiVideoPlayerAnalytics: f8f5e7e0207aefdb99fb97cee081b1693dacae8a
apivideo_player: ebd05d204d7f8bf03aa8a01f603d7b869a9dca60
ApiVideoPlayer: f29a6b54b3eb5904c1bd123d5fc2548d1699e7dc
ApiVideoPlayerAnalytics: df5fe80fb7dbb333efd9b47e8797dc24182ee412
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
pointer_interceptor_ios: 9280618c0b2eeb80081a343924aa8ad756c21375

Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dev_dependencies:
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^3.0.2
flutter_lints: ^4.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down
2 changes: 1 addition & 1 deletion ios/apivideo_player.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A new Flutter plugin project.
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'ApiVideoPlayer', "1.2.0"
s.dependency 'ApiVideoPlayer', "1.3.0"
s.platform = :ios, '11.0'

# Flutter.framework does not contain a i386 slice.
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ dependencies:
js: ^0.7.0
json_annotation: ^4.8.1
plugin_platform_interface: ^2.1.5
pointer_interceptor: ^0.10.1
meta: ^1.9.1
pointer_interceptor: ^0.10.1+1
meta: ^1.12.0

dev_dependencies:
build_runner: ^2.4.6
flutter_lints: ^3.0.1
build_runner: ^2.4.11
flutter_lints: ^4.0.0
flutter_test:
sdk: flutter
json_serializable: ^6.7.1
Expand Down

0 comments on commit a0cc8c7

Please sign in to comment.