Skip to content

Commit 3b26dbe

Browse files
Merge pull request #125 from mxenabled/wes/oauthWebview
SafeAreaView upgrade
2 parents 87211da + 617f217 commit 3b26dbe

12 files changed

Lines changed: 32 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Fixed
1515

16+
## [3.0.0]
17+
18+
### Removed
19+
20+
- No longer rendering the widgets inside of a SafeAreaView. Users of the widgets need to handle this.
21+
22+
### Updated
23+
24+
- Stopped using the deprecated react-native SafeAreaView in favor of react-native-safe-area-context
25+
1626
## [2.0.3]
1727

1828
### Added

example/app/budgets.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from "react"
2-
import { SafeAreaView, StyleSheet, Platform } from "react-native"
2+
import { StyleSheet, Platform } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
34

45
import { BudgetsWidget } from "@mxenabled/react-native-widget-sdk"
56

example/app/connect.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from "react"
2-
import { SafeAreaView, StyleSheet, Platform } from "react-native"
2+
import { StyleSheet, Platform } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
34
import * as Linking from "expo-linking"
45

56
import { ConnectWidget } from "@mxenabled/react-native-widget-sdk"

example/app/goals.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from "react"
2-
import { SafeAreaView, StyleSheet, Platform } from "react-native"
2+
import { StyleSheet, Platform } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
34

45
import { GoalsWidget } from "@mxenabled/react-native-widget-sdk"
56

example/app/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React, { FC, PropsWithChildren } from "react"
2-
import { SafeAreaView, Text, View, StyleSheet } from "react-native"
2+
import { Text, View, StyleSheet } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
34
import { Link } from "expo-router"
45

56
const styles = StyleSheet.create({

example/app/pulse.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react"
2-
import { SafeAreaView, StyleSheet, Platform } from "react-native"
3-
2+
import { StyleSheet, Platform } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
44
import { PulseWidget } from "@mxenabled/react-native-widget-sdk"
55

66
const baseUrl = Platform.OS === "android" ? "http://10.0.2.2:8089" : "http://localhost:8089"

example/app/spending.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react"
2-
import { SafeAreaView, StyleSheet, Platform } from "react-native"
3-
2+
import { StyleSheet, Platform } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
44
import { SpendingWidget } from "@mxenabled/react-native-widget-sdk"
55

66
const baseUrl = Platform.OS === "android" ? "http://10.0.2.2:8089" : "http://localhost:8089"

example/app/transactions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react"
2-
import { SafeAreaView, StyleSheet, Platform } from "react-native"
3-
2+
import { StyleSheet, Platform } from "react-native"
3+
import { SafeAreaView } from "react-native-safe-area-context"
44
import { TransactionsWidget } from "@mxenabled/react-native-widget-sdk"
55

66
const baseUrl = Platform.OS === "android" ? "http://10.0.2.2:8089" : "http://localhost:8089"

example/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)