Skip to content

Commit

Permalink
Reviewing the sample application / Updating dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoSMarques committed Dec 17, 2024
1 parent 7ff50e6 commit 1906fe6
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 18 deletions.
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PODS:
- BranchSDK (3.7.0)
- Flutter (1.0.0)
- flutter_branch_sdk (8.2.0):
- flutter_branch_sdk (8.3.0):
- BranchSDK (~> 3.7.0)
- Flutter

Expand All @@ -22,7 +22,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
BranchSDK: 1f63030d369197f4f33cb496a3c06ce997b5ec2f
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_branch_sdk: f4edb885188e3963c0d29baea32e3ddf5f974de6
flutter_branch_sdk: 5a91002c028d3157155e34ee934c0b216bebef1d

PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048

Expand Down
11 changes: 5 additions & 6 deletions example/lib/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,18 +115,17 @@ class _HomePageState extends State<HomePage> {
DateFormat('yyyy-MM-dd HH:mm:ss').format(DateTime.now());

metadata = BranchContentMetaData()
//..addCustomMetadata('custom_string', 'abcd')
..addCustomMetadata('custom_string', 'abcdefg')
..addCustomMetadata('custom_number', 12345)
..addCustomMetadata('custom_integer', 0)
..addCustomMetadata('custom_double', 0.0)
..addCustomMetadata('custom_bool', true)
..addCustomMetadata('custom_list_number', [1, 2, 3, 4, 5])
..addCustomMetadata('custom_list_string', ['a', 'b', 'c'])
..addCustomMetadata('custom_date_created', dateString)
..addCustomMetadata('\$og_image_width', 237)
..addCustomMetadata('\$og_image_height', 355)
..addCustomMetadata('\$og_image_url', imageURL);

//..addCustomMetadata('custom_bool', true)
//..addCustomMetadata('custom_list_number', [1, 2, 3, 4, 5])
//..addCustomMetadata('custom_list_string', ['a', 'b', 'c'])
//..addCustomMetadata('custom_date_created', dateString);
//--optional Custom Metadata
/*
..contentSchema = BranchContentSchema.COMMERCE_PRODUCT
Expand Down
38 changes: 31 additions & 7 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
version: "5.0.0"
flutter_test:
dependency: "direct dev"
description: flutter
Expand All @@ -103,14 +103,30 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
http:
dependency: transitive
description:
name: http
sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010
url: "https://pub.dev"
source: hosted
version: "1.2.2"
http_parser:
dependency: transitive
description:
name: http_parser
sha256: "76d306a1c3afb33fe82e2bbacad62a61f409b5634c915fceb0d799de1a913360"
url: "https://pub.dev"
source: hosted
version: "4.1.1"
intl:
dependency: "direct main"
description:
name: intl
sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf
sha256: "00f33b908655e606b86d2ade4710a231b802eec6f11e87e4ea3783fd72077a50"
url: "https://pub.dev"
source: hosted
version: "0.19.0"
version: "0.20.1"
leak_tracker:
dependency: transitive
description:
Expand Down Expand Up @@ -139,10 +155,10 @@ packages:
dependency: transitive
description:
name: lints
sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
sha256: "4a16b3f03741e1252fda5de3ce712666d010ba2122f8e912c94f9f7b90e1a4c3"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
version: "5.1.0"
matcher:
dependency: transitive
description:
Expand Down Expand Up @@ -276,6 +292,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "14.3.0"
web:
dependency: transitive
description:
name: web
sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb
url: "https://pub.dev"
source: hosted
version: "1.1.0"
sdks:
dart: ">=3.5.0 <4.0.0"
dart: ">=3.6.0-0 <4.0.0"
flutter: ">=3.19.0"
6 changes: 3 additions & 3 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.8
uuid: ^4.4.2
intl: ^0.19.0
uuid: ^4.5.1
intl: ^0.20.1

dev_dependencies:
flutter_test:
Expand All @@ -41,7 +41,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: ^4.0.0
flutter_lints: ^5.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down

0 comments on commit 1906fe6

Please sign in to comment.