Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reviewing the sample application / Updating dependencies #399

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
PODS:
- Flutter (1.0.0)

- flutter_branch_sdk (8.3.0):
- BranchSDK (~> 3.7.0)
- Flutter

DEPENDENCIES:
- Flutter (from `Flutter`)

Expand All @@ -11,6 +15,8 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7

flutter_branch_sdk: 5a91002c028d3157155e34ee934c0b216bebef1d

PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048

COCOAPODS: 1.16.2
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
Loading