Skip to content

Commit

Permalink
Merge branch 'develop' into updatePackageVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
Decoder07 authored Dec 19, 2023
2 parents 290ba5a + 6556f8a commit c7f7499
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 38 deletions.
8 changes: 4 additions & 4 deletions packages/hmssdk_flutter/example/ExampleAppChangelog.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Board: https://100ms.atlassian.net/jira/software/projects/FLUT/boards/34/

- Beam Intermediate State Updates
https://100ms.atlassian.net/browse/FLUT-135
- Add app launch animation for Prebuilt
https://100ms.atlassian.net/browse/FLUT-180

Room Kit: 1.0.8
Core SDK: 1.9.5
Android SDK: 2.8.3
iOS SDK: 1.4.0
Android SDK: 2.8.4
iOS SDK: 1.4.1
4 changes: 2 additions & 2 deletions packages/hmssdk_flutter/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ android {
applicationId "live.hms.flutter"
minSdkVersion 21
targetSdkVersion 33
versionCode 407
versionName "1.5.107"
versionCode 408
versionName "1.5.108"
}

signingConfigs {
Expand Down
1 change: 1 addition & 0 deletions packages/hmssdk_flutter/example/assets/splash_asset.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/hmssdk_flutter/example/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.5.107</string>
<string>1.5.108</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -48,7 +48,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>407</string>
<string>408</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationCategoryType</key>
Expand Down
33 changes: 29 additions & 4 deletions packages/hmssdk_flutter/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import 'package:hms_room_kit/hms_room_kit.dart';
import 'package:hmssdk_flutter_example/app_settings_bottom_sheet.dart';
import 'package:hmssdk_flutter_example/qr_code_screen.dart';
import 'package:hmssdk_flutter_example/room_service.dart';
import 'package:lottie/lottie.dart';
import 'package:provider/provider.dart';
import 'package:package_info_plus/package_info_plus.dart';
import 'package:uni_links/uni_links.dart';
Expand Down Expand Up @@ -57,9 +58,11 @@ class HMSExampleApp extends StatefulWidget {
context.findAncestorStateOfType<_HMSExampleAppState>()!;
}

class _HMSExampleAppState extends State<HMSExampleApp> {
class _HMSExampleAppState extends State<HMSExampleApp>
with TickerProviderStateMixin {
ThemeMode _themeMode = ThemeMode.dark;
Uri? _currentURI;
late AnimationController _controller;

ThemeData _darkTheme = ThemeData(
bottomSheetTheme: BottomSheetThemeData(
Expand Down Expand Up @@ -88,6 +91,10 @@ class _HMSExampleAppState extends State<HMSExampleApp> {
_initURIHandler();
_incomingLinkHandler();
initDynamicLinks();
_controller = AnimationController(
duration: Duration(seconds: (5)),
vsync: this,
);
}

Future<void> _initURIHandler() async {
Expand Down Expand Up @@ -173,9 +180,27 @@ class _HMSExampleAppState extends State<HMSExampleApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: HomePage(
deepLinkURL: _currentURI == null ? null : _currentURI.toString(),
),
home: Builder(builder: (context) {
return Lottie.asset(
'assets/splash_asset.json',
controller: _controller,
fit: BoxFit.fill,
animate: true,
onLoaded: (composition) {
_controller
..duration = composition.duration
..forward().whenComplete(() => Navigator.pushReplacement(
context,
MaterialPageRoute(
builder: (context) => HomePage(
deepLinkURL: _currentURI == null
? null
: _currentURI.toString(),
)),
));
},
);
}),
theme: _lightTheme,
darkTheme: _darkTheme,
themeMode: _themeMode,
Expand Down
26 changes: 13 additions & 13 deletions packages/hmssdk_flutter/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
url: "https://pub.dev"
source: hosted
version: "1.18.0"
version: "1.17.2"
convert:
dependency: transitive
description:
Expand Down Expand Up @@ -336,7 +336,7 @@ packages:
source: hosted
version: "5.0.0"
lottie:
dependency: transitive
dependency: "direct main"
description:
name: lottie
sha256: a93542cc2d60a7057255405f62252533f8e8956e7e06754955669fd32fb4b216
Expand All @@ -363,10 +363,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
url: "https://pub.dev"
source: hosted
version: "1.10.0"
version: "1.9.1"
mime:
dependency: transitive
description:
Expand Down Expand Up @@ -656,18 +656,18 @@ packages:
dependency: transitive
description:
name: stack_trace
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
url: "https://pub.dev"
source: hosted
version: "1.11.1"
version: "1.11.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
url: "https://pub.dev"
source: hosted
version: "2.1.2"
version: "2.1.1"
string_scanner:
dependency: transitive
description:
Expand All @@ -688,10 +688,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
url: "https://pub.dev"
source: hosted
version: "0.6.1"
version: "0.6.0"
tuple:
dependency: transitive
description:
Expand Down Expand Up @@ -848,10 +848,10 @@ packages:
dependency: transitive
description:
name: web
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
url: "https://pub.dev"
source: hosted
version: "0.3.0"
version: "0.1.4-beta"
win32:
dependency: transitive
description:
Expand Down
1 change: 1 addition & 0 deletions packages/hmssdk_flutter/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies:
hms_room_kit:
path: ../../hms_room_kit

lottie: ^2.7.0
firebase_crashlytics: 3.3.2
firebase_core: 2.13.1
firebase_performance: 0.9.2+2
Expand Down
26 changes: 13 additions & 13 deletions packages/hmssdk_flutter/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
url: "https://pub.dev"
source: hosted
version: "1.18.0"
version: "1.17.2"
fake_async:
dependency: transitive
description:
Expand Down Expand Up @@ -79,10 +79,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
url: "https://pub.dev"
source: hosted
version: "1.10.0"
version: "1.9.1"
path:
dependency: transitive
description:
Expand All @@ -108,18 +108,18 @@ packages:
dependency: transitive
description:
name: stack_trace
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
url: "https://pub.dev"
source: hosted
version: "1.11.1"
version: "1.11.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
url: "https://pub.dev"
source: hosted
version: "2.1.2"
version: "2.1.1"
string_scanner:
dependency: transitive
description:
Expand All @@ -140,10 +140,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
url: "https://pub.dev"
source: hosted
version: "0.6.1"
version: "0.6.0"
vector_math:
dependency: transitive
description:
Expand All @@ -156,10 +156,10 @@ packages:
dependency: transitive
description:
name: web
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
url: "https://pub.dev"
source: hosted
version: "0.3.0"
version: "0.1.4-beta"
sdks:
dart: ">=3.2.0-194.0.dev <4.0.0"
dart: ">=3.1.0-185.0.dev <4.0.0"
flutter: ">=2.10.0"

0 comments on commit c7f7499

Please sign in to comment.