Closed fajarism closed 3 months ago
The recent updates significantly enhance the TypeScript interfaces and functionality related to deep linking and configuration options within the application. Key additions include a handleDeepLink
method for processing deep links and a new appExtId
property in configuration interfaces. These changes improve navigation, error handling, and overall user experience while also introducing constants for standardized messages associated with deep linking and login processes.
Files | Change Summary |
---|---|
lib/typescript/core/core.interface.d.ts , src/core/core.interface.ts |
Added handleDeepLink to MainComponentRef , introduced IHandleDeepLink , added appExtId to ConfigureParams and Options , and declared onErrorWithMessageCallback . |
lib/typescript/index.d.ts |
New declaration for handleDeepLink , enhancing public API with deep linking support. |
src/core/options.ts |
Introduced appExtId to the options object for enhanced configuration. |
src/index.ts |
Updated configureHumanID to accept appExtId and added a new handleDeepLink function for processing deep links. |
src/modules/MainComponent.tsx |
Added handleDeepLink method for managing incoming deep links and introduced closeWebLogin for modal visibility management. |
src/string/label.ts |
Created a new file defining constants for deep linking and login messages to standardize strings used throughout the application. |
sequenceDiagram
participant User
participant App
participant DeepLinkHandler
User->>App: Clicks deep link
App->>DeepLinkHandler: handleDeepLink(deepLink)
DeepLinkHandler-->>App: Process deep link
App->>User: Display appropriate content
🐰 In a world where links run deep,
A rabbit hops and takes a leap.
With new paths to explore and play,
Errors managed, come what may!
Configs sprout like flowers bright,
Hooray for changes, what a delight! 🌼✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This commit includes the following changes
handleDeepLink
function. Users can use this function to parse their deeplink url. Based on the deeplink, they can getonSuccess
oronError
callappExtId
onconfigureHumanId
function. This will read more precise deeplink so only app with the registeredappExtId
can get the callback.string
file for single location read.Summary by CodeRabbit
New Features
appExtId
property to configuration options for improved integration capabilities.Bug Fixes
Documentation