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

Release 3.0.0 #107

Merged
merged 459 commits into from
May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
459 commits
Select commit Hold shift + click to select a range
3dddec1
Update Int32() to Int64()
MichielVrins Mar 23, 2023
b0f18ae
Merge pull request #66 from onewelcome/chore/fix_generated_code
MichielVrins Mar 23, 2023
881e65d
Fix a bug where pin auth events would not get sent correctly
MichielVrins Mar 23, 2023
5bdd6f0
Merge pull request #67 from onewelcome/hotfix/ios_pin_auth
MichielVrins Mar 23, 2023
afef7e3
FP-34: Remove dart and pigeon apis for old error events + add invalidpin
MichielVrins Mar 23, 2023
73b8200
FP-34: iOS: Use new invalidPinEvent
MichielVrins Mar 23, 2023
ad7c7b5
FP-69 added logic for otp on ios and example app wip
Archifer Mar 23, 2023
0063f06
FP-34: Android: Remove old error Events and use pinNotAllowedEvent
MichielVrins Mar 23, 2023
be2f248
FP-69 Completed setup for otp rework; only testing remains
Archifer Mar 23, 2023
ba9f9a7
FP-34: Rename pinNotAllowed event
MichielVrins Mar 23, 2023
f8a839b
FP-Hotfixtests hot fox for some failing android tests
Archifer Mar 23, 2023
392fa45
Merge pull request #68 from onewelcome/feature/FP-34
MichielVrins Mar 23, 2023
c971cd4
Merge branch 'develop' into feature/FP-62
MichielVrins Mar 24, 2023
406c54a
FP-62: Update tests for SSO
MichielVrins Mar 24, 2023
b452e74
Merge pull request #69 from onewelcome/fp-test-hot-fix-android
MichielVrins Mar 24, 2023
9b6525f
Merge branch 'develop' into feature/FP-62
MichielVrins Mar 24, 2023
a748483
FP-62: Fix newlines
MichielVrins Mar 24, 2023
aa4a08b
FP-71: Remove isAuthenticatorRegistered function
MichielVrins Mar 24, 2023
9315ac9
Merge pull request #65 from onewelcome/feature/FP-62
MichielVrins Mar 24, 2023
d2cc24c
Merge branch 'develop' into FP-69
Archifer Mar 27, 2023
e210586
FP-71: Move startApp to pigeon for iOS/Android
MichielVrins Mar 24, 2023
0c891cd
FP-71: Android: Update startUseCase tests
MichielVrins Mar 27, 2023
24938ed
fp-69 fix accept and deny usecase
Archifer Mar 27, 2023
f6e3ddb
fp-69, added error to ios to prevent multiple handle mobile auths at …
Archifer Mar 27, 2023
254ebdd
fp-69 rename function
Archifer Mar 27, 2023
856768f
Update the iOS TokenServer configuration
MichielVrins Mar 27, 2023
ade3915
Merge pull request #70 from onewelcome/chore/update_ios_configuration
MichielVrins Mar 28, 2023
babc37e
FP-69 Rework ios otp again to swift otp, and handle two ios cases of …
Archifer Mar 28, 2023
d32552e
Merge branch 'develop' into FP-69
Archifer Mar 28, 2023
5b0b1b1
Merge branch 'FP-69' into feature/FP-71
MichielVrins Mar 29, 2023
4a8600a
FP-71: Android: Remove no longer required files after pigeon impl.
MichielVrins Mar 29, 2023
9cefeb8
FP-69 readd qr logic
Archifer Mar 29, 2023
9875f3c
FP-71: Fixup podspec
MichielVrins Mar 29, 2023
54b8092
FP-71: iOS: Remove no longer needed files/constants
MichielVrins Mar 29, 2023
3296583
FP-71: Remove unused helper class
MichielVrins Mar 29, 2023
a2a1810
FP-57: Rename browser-authentication error to browser Registration
MichielVrins Mar 29, 2023
53454f8
FP-33 Add recommended flutter linter and perform fixes on highlighted…
Archifer Mar 29, 2023
b756009
FP-57: Don't expose the pin cr. callback and throw correct error when
MichielVrins Mar 29, 2023
c07c53b
FP-57: Move pinAuthentication callback nullchecking to handler
MichielVrins Mar 29, 2023
8166b6c
FP-57: Move fingerprint callback checking to handler
MichielVrins Mar 29, 2023
c2f4761
fp-69 process feedback
Archifer Mar 29, 2023
071f2c4
FP-57: Update OTP authentication handler to not expose callback +tests
MichielVrins Mar 29, 2023
202ec40
FP-57: Add more tests for PinAuthentication deny/accept
MichielVrins Mar 29, 2023
648992e
FP-57: Add more tests for PinRegistration accept/deny
MichielVrins Mar 29, 2023
adf5dae
FP-57: Add extra tests for fingerprint accept/deny/fallback
MichielVrins Mar 29, 2023
e4495ba
Merge pull request #71 from onewelcome/FP-69
Archifer Mar 30, 2023
572ae3e
Merge pull request #73 from onewelcome/FP-33
Archifer Mar 30, 2023
2995a5e
Merge pull request #74 from onewelcome/feature/FP-57
MichielVrins Mar 30, 2023
db917c8
Merge branch 'develop' into feature/FP-71
MichielVrins Mar 30, 2023
0de9b0e
fp-hotfix-pin fix for setting pin
Archifer Mar 30, 2023
678752f
FP-71: Fix a bug where async function was not awaiting call
MichielVrins Mar 30, 2023
c17cea0
Merge pull request #75 from onewelcome/FP-HOTFFIX-PIN
Archifer Mar 30, 2023
2a77ac9
FP-71: Comment styling change
MichielVrins Mar 30, 2023
1a58969
FP-57: Implement failure on callback missing for custom registration
MichielVrins Mar 30, 2023
8c1fd67
FP-71: Codestyle changes
MichielVrins Mar 30, 2023
dd5a4e4
FP-57: iOS: Add failure on callback missing for browser registration
MichielVrins Mar 30, 2023
0b425e1
Merge pull request #72 from onewelcome/feature/FP-71
MichielVrins Mar 30, 2023
5ae9aec
Merge pull request #76 from onewelcome/feature/FP-57-ios
MichielVrins Mar 30, 2023
ad18a89
FP-32: iOS: Install swiftlint pod
MichielVrins Mar 30, 2023
e6239dd
FP-32: iOS: Add swiftlint in run script before build
MichielVrins Mar 30, 2023
6d5f277
FP-32: Add .swiftlint.yml to exclude tests and include the devpod
MichielVrins Mar 30, 2023
60e4229
FP-32: Lint AppDelegate.swift and remove unused code
MichielVrins Mar 30, 2023
07128df
FP-32: Change line endings to LF
MichielVrins Mar 30, 2023
23d8a3e
FP-32: swiftlint --autofix, no manual changes
MichielVrins Mar 30, 2023
e2f4772
FP-32: Fix and disable some swiftlint errors
MichielVrins Mar 30, 2023
fc5b3f1
FP-53: Use SwiftApi in LogoutHandler
MichielVrins Mar 30, 2023
1fcb036
FP-54: Use SwiftApi in DeregisterUserHandler
MichielVrins Mar 30, 2023
6e7709f
FP-55: iOS: Use SwiftApi for AppToWebSingleSignOn
MichielVrins Mar 31, 2023
b8c0283
FP-52: Use SwiftApi for login/Pin authentication
MichielVrins Mar 31, 2023
2a5b18b
FP-52: Use SwiftApi for changepin
MichielVrins Mar 31, 2023
5fe6f76
FP-52: Use SwiftApi for registration / pin Creation
MichielVrins Mar 31, 2023
7ac7b76
FP-52: Use SwiftApi for authenticators
MichielVrins Mar 31, 2023
8b9f275
FP-32: Remove empty lines added because of wrong line endings
MichielVrins Mar 31, 2023
74110b1
FP-32: Match swiftlint.yml with ios native sdk
MichielVrins Mar 31, 2023
733e937
FP-32: Move closure parameters to same line as opening brace
MichielVrins Mar 31, 2023
4871a0c
Merge pull request #77 from onewelcome/feature/FP-32
MichielVrins Mar 31, 2023
2fd2296
FP-52: Use SwiftApi for setpref. and deregister authenticator methods
MichielVrins Mar 31, 2023
077c282
FP-81: Create new delegate on authenticator method calls
MichielVrins Mar 31, 2023
77867f5
FP-81: Create new delegate on changePin calls
MichielVrins Mar 31, 2023
92e992e
FP-81: Create new delegate on authenticateUser calls
MichielVrins Mar 31, 2023
26cc178
FP-81: Create new delegate object with promise completion on calling …
MichielVrins Mar 31, 2023
ce4a66a
Merge pull request #81 from onewelcome/feature/FP-52
MichielVrins Apr 3, 2023
0f6aeac
Merge pull request #80 from onewelcome/feature/FP-55
MichielVrins Apr 3, 2023
7eaa647
Merge pull request #79 from onewelcome/feature/FP-54
MichielVrins Apr 3, 2023
ac761cb
Merge pull request #78 from onewelcome/feature/FP-53
MichielVrins Apr 3, 2023
09ca4b7
FP-81: Directly pass in the registrationHandler into the delegate
MichielVrins Apr 3, 2023
c6cd0ad
FP-81: Directly pass in the loginHandler into the delegate
MichielVrins Apr 3, 2023
06a819b
FP-81: Directly pass in the handlers into delegate for changePin
MichielVrins Apr 3, 2023
ef8a57c
FP-81: Rename completions and make them const
MichielVrins Apr 3, 2023
992ee89
FP-81: Rename completion + make const + dont use global loginhandler
MichielVrins Apr 3, 2023
673a07f
FP-38 Integrate absolute paths on android; bump ios sdk to 12.1.1 to …
Archifer Apr 3, 2023
bc9936c
FP-30 Auto formatting and removed unused imports
Archifer Apr 4, 2023
fe246d3
fp-30 process warnings from linters; removed unused classes; removed …
Archifer Apr 4, 2023
65b15b4
FP-77 Removed unused event
Archifer Apr 4, 2023
ed14647
Merge pull request #85 from onewelcome/FP-30-NEW
Archifer Apr 4, 2023
d4ea569
FP-81: Move all completions to end of init in delegate init
MichielVrins Apr 4, 2023
dd3a61c
FP-81: Update init's to named arguments
MichielVrins Apr 4, 2023
58df909
Merge pull request #82 from onewelcome/feature/FP-81
MichielVrins Apr 4, 2023
2bc34bd
FP-85: Update Flutter pigeon version
MichielVrins Apr 5, 2023
24c860b
FP-77 Setup broadcast events wip
Archifer Apr 5, 2023
1e816e2
Merge pull request #86 from onewelcome/feature/FP-85
MichielVrins Apr 5, 2023
32df810
Merge branch 'develop' into FP-77
Archifer Apr 5, 2023
a40d7c8
fp-77 update podlock
Archifer Apr 5, 2023
20c1050
fp-77 merge from develop
Archifer Apr 5, 2023
3e62854
FP-65: Update AuthenticateUser api's
MichielVrins Apr 7, 2023
48a666e
FP-77 Setup working structure example app to handle the new broadcast…
Archifer Apr 11, 2023
f174541
FP-77 Clean up of the oneginilistener cleaner, buildcontext and code …
Archifer Apr 11, 2023
474bf12
fp-77 removed unused code
Archifer Apr 11, 2023
2324cdc
FP-65: Android: Add extension for authenticator and use new authType
MichielVrins Apr 11, 2023
365f596
fp-77 update event name
Archifer Apr 12, 2023
09e3964
FP-65: Update api
MichielVrins Apr 12, 2023
cc0b750
FP-65: Implement authenticator api's
MichielVrins Apr 12, 2023
c01ee5b
FP-65: Update api again to make authenticator type non nullable.
MichielVrins Apr 12, 2023
fa5f462
fp-77 renamed ReceivedFingerprintEvent to NextFingerprintAuthenticati…
Archifer Apr 12, 2023
7ea50f5
fp-77 added casts to subscriptions that used the event objects to rem…
Archifer Apr 13, 2023
9ba4718
FP-65: Update android implementation with preffered authenticator
MichielVrins Apr 13, 2023
0107677
FP-65: Update authentication api's in dart
MichielVrins Apr 13, 2023
f86529f
FP-65: use new dart api in login_screen
MichielVrins Apr 13, 2023
1a62ed5
realligned and added comments for event structures, als renamed pigeo…
Archifer Apr 13, 2023
4928ec8
fp-77 removed unused models due to pigeon rework and events rework
Archifer Apr 13, 2023
32acaf4
FP-65: Update api + add in example app
MichielVrins Apr 14, 2023
53385b5
FP-65: Implment biometric authenticator de/register
MichielVrins Apr 14, 2023
5b8218c
FP-65: implement authenticateUser and setPreferredAuthenticator
MichielVrins Apr 14, 2023
c7a3084
FP-65: Implement getPreferred/biometricAuthenticator
MichielVrins Apr 14, 2023
e3283c5
FP-65: Add tests for GetPreferredAuthenticatorUseCaseTests
MichielVrins Apr 14, 2023
ee5ccf9
FP-65: Update tests for AuthenticateUserUseCase
MichielVrins Apr 14, 2023
1f362d9
FP-65: Update SetPreferredAuthenticatorTests
MichielVrins Apr 14, 2023
761fdf7
FP-65: Update tests for RegisterBiometricAuthenticatorUseCase
MichielVrins Apr 14, 2023
3ba5e53
FP-65: Update getPreferredAuthenticator implementation to use profileid
MichielVrins Apr 14, 2023
cfa3275
FP-65: Add tests for GetBiometricAuthenticatorUseCase
MichielVrins Apr 14, 2023
50a72a5
FP-65: Add tests for DeregisterBiometricAuthenticatorUseCase
MichielVrins Apr 14, 2023
419f985
fp-39 fix merge conflicts
Archifer Apr 17, 2023
41c1fed
FP-77 Move subscription logic into their own respective classes in th…
Archifer Apr 18, 2023
874836f
fp-77 replace geter name for init
Archifer Apr 18, 2023
64e3085
fp-77 remove unused model for events, updated to private function for…
Archifer Apr 18, 2023
c0e1865
FP-77 Moved controller to onegini.dart, and added it to the listener …
Archifer Apr 18, 2023
93baf10
fp-77 removed generic events again
Archifer Apr 18, 2023
5c2ce80
FP-65: Optimize all imports
MichielVrins Apr 18, 2023
ef068ac
FP-65: Throw a generic error if no preferred authenticator exists
MichielVrins Apr 18, 2023
0f66833
FP-65: Fix linter problems for Tests
MichielVrins Apr 18, 2023
19a861a
FP-65: Refactor GetPreferredAuthenticator auth-type checking
MichielVrins Apr 18, 2023
92931ef
FP-65: Use getUserProfileUseCase to get the userprofile/error
MichielVrins Apr 18, 2023
64ed6b3
fp-77 add finalizer for event broadcaster
Archifer Apr 18, 2023
43c5f2f
fp-38 wip logic for handling malformed incorrect urls
Archifer Apr 19, 2023
a872361
FP-65: iOS code style changes
MichielVrins Apr 19, 2023
6232887
fp-38 added check for invalid urls on android + tests
Archifer Apr 19, 2023
ea4ad10
fp-77 move subscription handlers outside of class
Archifer Apr 19, 2023
dc09108
fp-77 re-established working linter and applied linting to relevant d…
Archifer Apr 19, 2023
b21fa65
fp-77 removed unused print and applied linter
Archifer Apr 19, 2023
ee4ae74
Merge pull request #87 from onewelcome/FP-77
Archifer Apr 19, 2023
ccceea1
FP-65: Use profileId given in getAuthenticator methods
MichielVrins Apr 19, 2023
2baa1b1
FP-38 Check for valid urls for both native sides
Archifer Apr 19, 2023
23c7cda
fp-38 merge develop into branch and fix conflict
Archifer Apr 19, 2023
47e6dfb
Merge branch 'develop' into feature/FP-65
MichielVrins Apr 20, 2023
e4d7cd1
FP-83 Removed IdP ID from custom registration callbacks for consisten…
Archifer Apr 20, 2023
2f1c071
Fix a bug where the fingerprint overlay would never disapear
MichielVrins Apr 20, 2023
56f95ec
Merge pull request #89 from onewelcome/hotfix/android_fingerprint
MichielVrins Apr 20, 2023
b07d4a2
Merge branch 'develop' into feature/FP-65
MichielVrins Apr 20, 2023
ec3d338
FP-65: Fix some empty/newlines
MichielVrins Apr 20, 2023
3e22280
FP-65: Don't call callback in getAuthenticator usecases
MichielVrins Apr 20, 2023
5fdfcf8
FP-65: Use const strings instead of "QWERTY" in test files
MichielVrins Apr 20, 2023
b7a2ed1
FP-65: Add newline
MichielVrins Apr 20, 2023
721c594
Merge pull request #88 from onewelcome/feature/FP-65
MichielVrins Apr 20, 2023
67b47d2
FP-51: Use swift api for authenticateDevice and authenticateUserImpli…
MichielVrins Apr 19, 2023
9b64037
FP-51: Use Swift api for resourceRequests
MichielVrins Apr 20, 2023
1cd7770
FP-51: Update how we get implicit details and make it nullsafe
MichielVrins Apr 20, 2023
c1d8522
FP-51: Move preferred authenticator into seperate build method
MichielVrins Apr 21, 2023
52883b6
FP-51: Refactor info screen
MichielVrins Apr 21, 2023
1554054
FP-51: Make fingerprintscreen nullsafe
MichielVrins Apr 21, 2023
3c376cf
FP-51: Refactor method name
MichielVrins Apr 21, 2023
3e335b8
FP-84: Add workflows.yml for dart linting/formatting on github actions
MichielVrins Apr 21, 2023
235c1a6
FP-84: Format the generated code after generation
MichielVrins Apr 21, 2023
58f2d1f
FP-84: Auto format dart code
MichielVrins Apr 21, 2023
6f60afa
FP-84: Use flutter to get packages and run analyze
MichielVrins Apr 21, 2023
9eb33ea
FP-84: Fix info warnings
MichielVrins Apr 21, 2023
8c16147
FP-84: Remove final output step
MichielVrins Apr 21, 2023
c577f37
FP-84: Update a deprecated way to open url in external browser
MichielVrins Apr 21, 2023
a116900
Merge pull request #92 from onewelcome/feature/FP-84
MichielVrins Apr 21, 2023
8c6c0c4
FP-86: Make auth_otp_screen nullsafe
MichielVrins Apr 24, 2023
8d93ecc
FP-86: Make fingerprint screen nullsafe
MichielVrins Apr 24, 2023
4d93f63
FP-51: Update how we get implicit details and make it nullsafe
MichielVrins Apr 20, 2023
9f1f6d4
FP-86: Make otp_screen nullsafe
MichielVrins Apr 24, 2023
9d4205f
fp-83 error rework structure + combined errors
Archifer Apr 24, 2023
2e65cc3
FP-86: Make pin_request_screen nullsafe
MichielVrins Apr 24, 2023
0447ef9
FP-83 Added logic for consistent errors for 1. implicit resource call…
Archifer Apr 24, 2023
ae85e66
FP-86: Make pin_screen nullsafe
MichielVrins Apr 24, 2023
4533ab3
FP-86: Make qr_screen nullsafe
MichielVrins Apr 24, 2023
1c4f4ce
FP-86: Make main.dart nullsafe
MichielVrins Apr 24, 2023
178f8b1
FP-86: Re-add spacing between buttons on homepage
MichielVrins Apr 24, 2023
c70127c
FP-83 Merge develop into branch, add error check for unknown identity…
Archifer Apr 25, 2023
cecef29
fp-83 update linter to exclude pigeon generated files
Archifer Apr 25, 2023
7b12898
fp-83 update format in pigeon
Archifer Apr 25, 2023
f65d520
FP-38 Merge develop into branch
Archifer Apr 25, 2023
4e66feb
FP-38 Update when statement with result object
Archifer Apr 25, 2023
c59b129
fp-38 reallign invalid url error code on both ios and android
Archifer Apr 25, 2023
d0b83f0
FP-86: Remove not required null checks
MichielVrins Apr 25, 2023
7c3cd09
fp-83 fix tests
Archifer Apr 25, 2023
3f6e25a
Merge pull request #93 from onewelcome/feature/FP-86
MichielVrins Apr 25, 2023
7cbebea
fp-38 update var name and readd apply
Archifer Apr 25, 2023
65e60bf
fp-38 reformat
Archifer Apr 25, 2023
d642de4
FP-83 Ungrouped error codes to be closer to native sdk and changed no…
Archifer Apr 25, 2023
260d9f9
fp-83 re-align error messages
Archifer Apr 25, 2023
9ba34dd
FP-83 Update error messages regarding resource requests
Archifer Apr 25, 2023
a400a16
fp-83 merge develop into branch
Archifer Apr 25, 2023
8f360a9
fp-38 rename function
Archifer Apr 25, 2023
ad2ed38
fp-38 merge from develop
Archifer Apr 25, 2023
506c7f4
Merge pull request #94 from onewelcome/FP-83
Archifer Apr 26, 2023
b0648e2
FP-38 Merge develop into branch and fix merge conflicts
Archifer Apr 26, 2023
57123a6
fp-38 rename error and fix if statement for registration
Archifer Apr 26, 2023
3f41a53
fp-hotfix-idprovider hotfix for id provider registration
Archifer Apr 26, 2023
a1bdc4e
Merge pull request #96 from onewelcome/FP-HOTFIX-IDPROVIDER
MichielVrins Apr 26, 2023
55a73d2
fp-38 revert pbxproj file
Archifer Apr 26, 2023
f44448e
fp-39 revert info.plist changes
Archifer Apr 26, 2023
414e081
Merge pull request #84 from onewelcome/FP-38
Archifer Apr 26, 2023
c5b58e6
FP-79-12-2 Update ios sdk to version 12.2.0
Archifer Apr 26, 2023
bc1522c
FP-RENAME-PIGEON-FILES renamed pigeon files to better indicate that t…
Archifer Apr 26, 2023
5831a8a
fp-rename pigeon files update format of auto generation
Archifer Apr 26, 2023
b18e8b1
Merge pull request #97 from onewelcome/FP-79-12-2
Archifer Apr 26, 2023
210068c
FP-79-12-2-2 Update iOS SDK to 12.2.2
Archifer Apr 26, 2023
72ddb57
Merge pull request #99 from onewelcome/FP-79-12-2-2
MichielVrins Apr 26, 2023
bb66390
Add logic for qr_registration idp
MichielVrins Apr 26, 2023
821ba8d
fp-rename renamed pigeon files once again
Archifer Apr 26, 2023
94a9a16
Merge pull request #100 from onewelcome/fix_qr_registration
MichielVrins Apr 26, 2023
fac8f57
Merge pull request #98 from onewelcome/FP-RENAME-PIGEON-FILES
MichielVrins Apr 26, 2023
713a502
Also attempt to cancel customRegistration during during our cancel
MichielVrins Apr 26, 2023
f117885
Update the errorcode for which we check during getBiometricAuthenticator
MichielVrins Apr 26, 2023
5ddab7e
Merge pull request #101 from onewelcome/allow_cancel_custom_registration
Archifer Apr 26, 2023
10754a5
Merge pull request #102 from onewelcome/biometric_authenticator_message
MichielVrins Apr 26, 2023
c4a4e34
FP-87: Split the build method into seperate private helpers
MichielVrins May 1, 2023
5754b77
FP-87: Add a profileId selector on login screen
MichielVrins May 1, 2023
bd2b76c
FP-87: Add a profileId menu item to the user_screen sidebar
MichielVrins May 1, 2023
7aebc06
FP-87: Improve state handling for userProfiles in login_screen
MichielVrins May 1, 2023
2c6acaa
FP-87: Fix device info not loading correctly
MichielVrins May 1, 2023
21025f9
Add enums for all error_codes
MichielVrins May 2, 2023
2756366
Use Error enums where hardcoded values were used
MichielVrins May 2, 2023
e3eb712
Add comments to make sure both places get adjusted
MichielVrins May 2, 2023
89aa20a
Merge pull request #103 from onewelcome/feature/FP-87
MichielVrins May 2, 2023
1982f3d
Update max-sdk to 4.0.0
MichielVrins May 2, 2023
fdf4692
Remove generated files from swiftlint
MichielVrins May 3, 2023
2a19e2d
Change the error_codes to static const String instead of enum
MichielVrins May 3, 2023
adefaed
Merge branch 'develop' into feature/FP-51
MichielVrins May 3, 2023
a6607c8
FP-51: Re-add logging
MichielVrins May 3, 2023
4c815a3
Merge branch 'develop' into feature/FP-51
MichielVrins May 3, 2023
bb57dd6
FP-51: Update Logger string to match new function name
MichielVrins May 3, 2023
88acd87
Merge pull request #90 from onewelcome/feature/FP-51
MichielVrins May 3, 2023
5714afc
Merge pull request #104 from onewelcome/error_codes
MichielVrins May 3, 2023
e9be6b3
Fix a bug where fallback to pin was not working correctly on ios
MichielVrins May 3, 2023
85e7278
Fix an overflow issue on the Drawer on smaller devices
MichielVrins May 3, 2023
1cd2715
Update changelog
MichielVrins May 3, 2023
709f9ae
Update versions for release
MichielVrins May 3, 2023
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
19 changes: 19 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Main workflow
on: [push, pull_request]

jobs:
lint_and_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
architecture: x64
- run: flutter --version
- name: Install dependencies
run: flutter pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze project source
run: flutter analyze --fatal-infos
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
## 3.0.0, May 3, 2023
You can find the full changelog [here](https://developer.onewelcome.com/flutter/plugin/v2-x) and an overview containing the upgrade instructions [here](https://developer.onewelcome.com/flutter/plugin/v2-0).

[iOS] Wrapper SDK now uses the latest OneWelcome iOS native SDK 12.2.2

* Events are now propagated using Streams and have been renamed to more accurately describe their purpose.
* Removed the following events
- eventOther
- openPinAuthenticator
- eventError
* startApplication now no longer requires a OneginiListener parameter.
* All BuildContext requirements from functions have been removed.
* Resource requests now allow absolute paths.
* Allow for Resource Requests to other resource servers than the one in the tokenserver config file, this is only possible if the server has a correct certificate.
* Updated several parameters and return types of functions.
* Functions are now fully typesafe and nullsafe due to the use of [Pigeon](https://pub.dev/packages/pigeon) internally.
* Updates several functions to no longer return a boolean status but instead resolve/reject.
- setPreferredAuthenticator
- deregisterBiometricAuthenticator
- logout
- authenticateDevice
- validatePinWithPolicy
- authenticateUserImplicitly
- deregisterUser
* submitSuccessAction and submitErrorAction for custom registration no longer require an identity provider id.
* getAppToWebSingleSignOn now returns the actual error code instead of a general error when failing.
* OneginiPinRegistrationCallback.acceptAuthenticationRequest No longer takes a map as a second argument.
* Renamed several resourceRequest functions and added a generic requestResource which takes a type as extra argument.
* Reworked error codes and added constants for all errors(wrapper and native) in lib/errors/error_codes.dart
* Reworked mobileAuthWithOtp.
* Reworked authentication
- Removed getRegisteredAuthenticators
- Removed getAllAuthenticators
- Removed registerAuthenticator
- Added deregisterBiometricAuthenticator
- Added registerBiometricAuthenticator
- Added getBiometricAuthenticator
- Added getPreferredAuthenticator
- Changed setPreferredAuthenticator
- Changed authenticateUser
* Allow sdk <4.0.0

## 2.0.1, March 2, 2023
Updated the README

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ in pubspec.yaml add this:

dependencies:

onegini: 2.0.1
onegini: 3.0.0

`flutter clean`

Expand Down
33 changes: 33 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

analyzer:
exclude:
- lib/auto_generated_pigeon.dart

linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.onegini.mobile.sdk.flutter

import com.onegini.mobile.sdk.flutter.module.FacadeModule
import com.onegini.mobile.sdk.flutter.module.FlutterOneWelcomeSdkModule
import dagger.Component
import javax.inject.Singleton

@Component(modules = [FlutterOneWelcomeSdkModule::class])
@Component(modules = [FlutterOneWelcomeSdkModule::class, FacadeModule::class])
@Singleton
interface FlutterOneWelcomeSdkComponent {

fun inject(oneginiPlugin: OneginiPlugin)
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,25 +1,36 @@
package com.onegini.mobile.sdk.flutter

// When editing these errors, make sure to also update the errors in lib/errors/error_codes.dart
enum class OneWelcomeWrapperErrors(val code: Int, val message: String) {
GENERIC_ERROR(8000, "Something went wrong"),
USER_PROFILE_DOES_NOT_EXIST(8001, "The requested User profile does not exist"),
NO_USER_PROFILE_IS_AUTHENTICATED(8002, "There is currently no User Profile authenticated"),
AUTHENTICATOR_NOT_FOUND(8004, "The requested authenticator is not found"),
HTTP_REQUEST_ERROR(8011, "OneWelcome: HTTP Request failed internally"),
ERROR_CODE_HTTP_REQUEST(8013, "OneWelcome: HTTP Request returned an error code. Check Response for more info"),
USER_NOT_AUTHENTICATED_IMPLICITLY(8035, "The requested action requires you to be authenticated implicitly"),
METHOD_ARGUMENT_NOT_FOUND(8036, "The passed argument from Flutter could not be found"),
ARGUMENT_NOT_CORRECT(8036, "The passed argument is not correct"),
GENERIC_ERROR(8000, "Something went wrong"),
NOT_AUTHENTICATED_USER(8040, "There is currently no User Profile authenticated"),
NOT_AUTHENTICATED_IMPLICIT(8041, "The requested action requires you to be authenticated implicitly"),
NOT_FOUND_USER_PROFILE(8042, "The requested User profile is not found"),
NOT_FOUND_AUTHENTICATOR(8043, "The requested authenticator is not found"),
NOT_FOUND_IDENTITY_PROVIDER(8044, "The requested identity provider is not found"),
NOT_FOUND_SECURITY_CONTROLLER(8045, "The requested Security controller class is not found"), // Android only
HTTP_REQUEST_ERROR_INTERNAL(8046, "The resource Request failed internally"),
HTTP_REQUEST_ERROR_CODE(8047, "The resource Request returned an HTTP error code. Check Response for more info"),
ONEWELCOME_SDK_NOT_INITIALIZED(8049, "OneWelcomeSDK is not initialized"), // Android only
INVALID_URL(8050, "The provided url is invalid or incorrect"),
NOT_IN_PROGRESS_CUSTOM_REGISTRATION(8051, "Custom Registration is currently not in progress"),
NOT_IN_PROGRESS_AUTHENTICATION(8052, "Authentication is currently not in progress"),
NOT_IN_PROGRESS_OTP_AUTHENTICATION(8053, "OTP Authentication is currently not in progress"),
NOT_IN_PROGRESS_PIN_CREATION(8054, "Pin Creation is currently not in progress"),
NOT_IN_PROGRESS_FINGERPRINT_AUTHENTICATION(8055, "Fingerprint Authentication is currently not in progress"),
ACTION_NOT_ALLOWED_CUSTOM_REGISTRATION_CANCEL(
8057,
"Canceling the Custom registration right now is not allowed." +
" Registration is not in progress or pin creation has already started"
),
ACTION_NOT_ALLOWED_BROWSER_REGISTRATION_CANCEL(
8058,
"Canceling the Browser registration right now is not allowed." +
" Registration is not in progress or pin creation has already started"
),
CONFIG_ERROR(8059, "Something went wrong while setting the configuration"), // Android only
BIOMETRIC_AUTHENTICATION_NOT_AVAILABLE(8060, "Biometric authentication is not supported on this device"),

// Errors that only occur on Android
IDENTITY_PROVIDER_NOT_FOUND(8005, "The requested identity provider is not found"),
QR_CODE_HAS_NO_DATA(8006, "QR-code does not have data"),
METHOD_TO_CALL_NOT_FOUND(8007, "Method to call not found"),
URL_CANT_BE_NULL(8008, "Url can not be null"),
MALFORMED_URL(8009, "Incorrect url format"),
PREFERRED_AUTHENTICATOR_ERROR(8010, "Something went wrong when setting the preferred authenticator"),
ONEWELCOME_SDK_NOT_INITIALIZED(8012, "OneWelcomeSDK is not initialized"),
CONFIG_ERROR(8032, "Something went wrong while setting the configuration"),
SECURITY_CONTROLLER_NOT_FOUND(8033, "Security controller class not found"),
REGISTRATION_NOT_IN_PROGRESS(8034, "No registration in progress for the given Identity Provider"),
// Only used for internal testing
UNEXPECTED_ERROR_TYPE(8999, "An unexpected error type was returned"), // Android only
}
Loading