-
Notifications
You must be signed in to change notification settings - Fork 4
Implement message signing for Flutter #25
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
Changes from 6 commits
9756f47
30906b1
a9d10f0
23aaae7
0e7083f
666c4ff
22c0317
8a84734
7b9e267
4972ffc
9660898
f99ee0a
cc1ea7d
ec31621
722a3fa
67eb970
4e03059
151ee50
15f4581
91de879
a5adf9f
23b2e07
c0786fc
952800c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| #Thu Oct 16 13:35:42 BST 2025 | ||
| distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -472,7 +472,23 @@ - (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result | |
| [Approov setDevKey:call.arguments[@"devKey"]]; | ||
| result(nil); | ||
| } else if ([@"getMessageSignature" isEqualToString:call.method]) { | ||
| result([Approov getMessageSignature:call.arguments[@"message"]]); | ||
| @try { | ||
| result([Approov getMessageSignature:call.arguments[@"message"]]); | ||
| } | ||
| @catch (NSException *exception) { | ||
| result([FlutterError errorWithCode:@"Approov.getMessageSignature" | ||
| message:exception.reason | ||
| details:nil]); | ||
| } | ||
| } else if ([@"getInstallMessageSignature" isEqualToString:call.method]) { | ||
| @try { | ||
| result([Approov getInstallMessageSignature:call.arguments[@"message"]]); | ||
| } | ||
| @catch (NSException *exception) { | ||
|
||
| result([FlutterError errorWithCode:@"Approov.getInstallMessageSignature" | ||
| message:exception.reason | ||
| details:nil]); | ||
| } | ||
| } else if ([@"setUserProperty" isEqualToString:call.method]) { | ||
| [Approov setUserProperty:call.arguments[@"property"]]; | ||
| result(nil); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.