Skip to content
Draft
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
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

## [4.0.0]

### Removed

- Custom onLoadUrlInBrowser and onLoadUrlInBrowserError props

### Changed

- Now opening oauth tabs inside the app instead of in a separate browser. This simplifies the configuration process and makes it easier for the user to get back to the app in case of failures.

## [3.0.0]

### Removed

- No longer rendering the widgets inside of a SafeAreaView. Users of the widgets need to handle this.

### Updated
### Changed

- Stopped using the deprecated react-native SafeAreaView in favor of react-native-safe-area-context

Expand Down
3 changes: 3 additions & 0 deletions example/app/connect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ export default function Connect() {
onLoaded={(_payload) => {
console.log("Widget has loaded")
}}
onMemberConnected={(payload) => {
console.log(`Member connected with payload: ${JSON.stringify(payload)}`)
}}
onStepChange={(payload) => {
console.log(`Moving from ${payload.previous} to ${payload.current}`)
}}
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
collectCoverageFrom: ["src/**/**"],
setupFiles: ["./test/setup.ts"],
setupFilesAfterEnv: ["./test/mocks/setup.ts", "./test/mocks/react_native_webview.ts"],
testRegex: ["_test\\.[jt]sx?$"],
testRegex: [".test\\.[jt]sx?$"],
testPathIgnorePatterns: [
"<rootDir>/node_modules",
"<rootDir>/dist",
Expand Down
Loading