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

Added auth on Android SDK #5

Merged
merged 32 commits into from
Aug 9, 2023
Merged

Added auth on Android SDK #5

merged 32 commits into from
Aug 9, 2023

Conversation

jumaallan
Copy link
Member

@jumaallan jumaallan commented Aug 2, 2023

Story: https://app.shortcut.com/smileid/story/10245/add-async-enhanced-kyc-to-flutter-sdk

Summary

  • Finished auth setup on the android sdk
  • Update AGP to 8.1.0, Gradle to 8.2.1
  • Added coroutine execution helper
  • Update Kotlin to 1.9.0
  • Determine android version dynamically
  • Update package name to not clash with native sample app
  • Move back to Java 17 (?)

@jumaallan jumaallan requested a review from a team as a code owner August 2, 2023 17:00
@@ -9,7 +9,7 @@ import 'package:flutter/foundation.dart' show ReadBuffer, WriteBuffer;
import 'package:flutter/services.dart';

enum FlutterJobType {
biometric_kyc,
enhanced_kyc,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to assign the actual job type int value here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vanshg refer to the issue I raised on Slack

@vanshg vanshg merged commit a9bd4f6 into authenticate Aug 9, 2023
1 of 3 checks passed
@vanshg vanshg deleted the setup-auth-flutter branch August 9, 2023 00:44
vanshg added a commit that referenced this pull request Aug 9, 2023
* Rename to SmileID (#2)

* Authentication support

* Asyc Enhanced Kyc iOS (#4)

* Add mapper

* Add enhancedKyc job type and associated integer value

* Update native SmileID dependency to `10.0.0-beta03`

* Add `initialize` and `doEnhancedKycAsyc` method calls

* Resolve merge conflicts

* Asyc Enhanced Kyc iOS (#4)

* Add mapper

* Add enhancedKyc job type and associated integer value

* Update native SmileID dependency to `10.0.0-beta03`

* Add `initialize` and `doEnhancedKycAsyc` method calls

* Resolve merge conflicts

* Added auth on Android SDK (#5)

* added auth on android sdk

* fixed mapping between flutter and dart code

* test gh actions

* updated github actions - build iOS and Android

* removed ios build

* cleaning up action file

* cleaning up action file

* cleaning up mapper

* Cleanup

* Dynamic SDK version

* Update Gradle version

* Update Java version in Github action

* Fix AndroidManifest package

* added some minor comments

* updated tests and updated build file

* Add gradle wrapper

* Authentication on iOS (#6)

* Add authentication method to SmileID plugin iOS

* Bump native dependency version to 10.0.0-beta04

* update AuthenticationRequest init

* fix podfile

* Fix path

* Fix Action

* Remove develop

* Add gradlew

* Add gradle wrapper jar

* Use flutter and fix tests

* Build iOS

* Remove iOS Codesigning

* Cache Gradle

* Fix iOS Build issue

* Increase timeout

* Separate android and iOS

* Another approach

* Update timeout

---------

Co-authored-by: Vansh Gandhi <vansh@smileidentity.com>
Co-authored-by: Jubril Olambiwonnu <jubrylola@gmail.com>

---------

Co-authored-by: Jubril Olambiwonnu <jubrylola@gmail.com>
Co-authored-by: Juma Allan <allanjuma@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants