using react-native-modal-popover from doomsover

the forked esteemapp package was outdated from 2 years back while package from doomsower seems more uptodate though still using UNSAFE method...

Let's hope it fixes the android popover crash else we can attempt to uplift popover ourselves.
This commit is contained in:
Nouman Tahir 2021-07-06 18:42:38 +05:00
parent ed20b9b48c
commit 6e803f8761
5 changed files with 15 additions and 17 deletions

View File

@ -31,7 +31,6 @@
"@ecency/render-helper": "^2.1.12", "@ecency/render-helper": "^2.1.12",
"@esteemapp/dhive": "0.15.0", "@esteemapp/dhive": "0.15.0",
"@esteemapp/react-native-autocomplete-input": "^4.2.1", "@esteemapp/react-native-autocomplete-input": "^4.2.1",
"@esteemapp/react-native-modal-popover": "^0.0.15",
"@esteemapp/react-native-multi-slider": "^1.1.0", "@esteemapp/react-native-multi-slider": "^1.1.0",
"@esteemapp/react-native-render-html": "^4.1.5", "@esteemapp/react-native-render-html": "^4.1.5",
"@esteemapp/react-native-slider": "^0.12.0", "@esteemapp/react-native-slider": "^0.12.0",
@ -87,6 +86,7 @@
"react-native-matomo-sdk": "feruzm/react-native-matomo-sdk", "react-native-matomo-sdk": "feruzm/react-native-matomo-sdk",
"react-native-modal": "^11.5.6", "react-native-modal": "^11.5.6",
"react-native-modal-dropdown": "ecency/react-native-modal-dropdown", "react-native-modal-dropdown": "ecency/react-native-modal-dropdown",
"react-native-modal-popover": "^2.0.1",
"react-native-modal-translucent": "^5.0.0", "react-native-modal-translucent": "^5.0.0",
"react-native-navigation-bar-color": "^1.0.0", "react-native-navigation-bar-color": "^1.0.0",
"react-native-push-notification": "^7.3.1", "react-native-push-notification": "^7.3.1",

View File

@ -1,10 +1,9 @@
import Popover, { PopoverController } from '@esteemapp/react-native-modal-popover'; import Popover, { PopoverController } from 'react-native-modal-popover';
import React, { Fragment } from 'react'; import React, { Fragment } from 'react';
import { ActivityIndicator, View, Text, TouchableOpacity, Alert } from 'react-native'; import { ActivityIndicator, View, Text, TouchableOpacity } from 'react-native';
import Highlighter from 'react-native-highlight-words'; import Highlighter from 'react-native-highlight-words';
import { UserAvatar } from '../../../userAvatar'; import { UserAvatar } from '../../../userAvatar';
import Tag from '../tag/tagView';
import styles from './userListItemStyles'; import styles from './userListItemStyles';
const UserListItem = ({ const UserListItem = ({

View File

@ -1,6 +1,6 @@
import React, { Fragment } from 'react'; import React, { Fragment } from 'react';
import { View, Text, TouchableOpacity } from 'react-native'; import { View, Text, TouchableOpacity } from 'react-native';
import { Popover, PopoverController } from '@esteemapp/react-native-modal-popover'; import { Popover, PopoverController } from 'react-native-modal-popover';
import styles from './popoverWrapperStyles'; import styles from './popoverWrapperStyles';

View File

@ -1,7 +1,7 @@
import React, { Fragment, useEffect, useState } from 'react'; import React, { Fragment, useEffect, useState } from 'react';
import { View, TouchableOpacity, Text, Alert } from 'react-native'; import { View, TouchableOpacity, Text, Alert } from 'react-native';
import { useIntl } from 'react-intl'; import { useIntl } from 'react-intl';
import { Popover, PopoverController } from '@esteemapp/react-native-modal-popover'; import { Popover, PopoverController } from 'react-native-modal-popover';
import Slider from '@esteemapp/react-native-slider'; import Slider from '@esteemapp/react-native-slider';
// Utils // Utils

View File

@ -748,15 +748,6 @@
resolved "https://registry.yarnpkg.com/@esteemapp/react-native-autocomplete-input/-/react-native-autocomplete-input-4.2.1.tgz#a883db553dcc152cf6ac5e6a39bc7e35682286ce" resolved "https://registry.yarnpkg.com/@esteemapp/react-native-autocomplete-input/-/react-native-autocomplete-input-4.2.1.tgz#a883db553dcc152cf6ac5e6a39bc7e35682286ce"
integrity sha512-lZFIRoAmFhON69BuoWDbXXBSmjLRM4GDyIbaVwcRPD4y9l9wVgYIpN7MdtgRj66XYhS1ffJZhhMhqlzRC5sFAQ== integrity sha512-lZFIRoAmFhON69BuoWDbXXBSmjLRM4GDyIbaVwcRPD4y9l9wVgYIpN7MdtgRj66XYhS1ffJZhhMhqlzRC5sFAQ==
"@esteemapp/react-native-modal-popover@^0.0.15":
version "0.0.15"
resolved "https://registry.yarnpkg.com/@esteemapp/react-native-modal-popover/-/react-native-modal-popover-0.0.15.tgz#0b3970b2caba935e30066490e11a04b50a7a40a4"
integrity sha512-xp5KwI3dhNaWBOqcyFYT9Pao1tFHM2hBGRFPnmu0GnXBKW83rnZ0ZNCNvbu1ndyCiawSiAVP+yAeHoAplp9Jtg==
dependencies:
"@types/prop-types" "^15.5.5"
lodash.debounce "^4.0.8"
prop-types "^15.6.2"
"@esteemapp/react-native-multi-slider@^1.1.0": "@esteemapp/react-native-multi-slider@^1.1.0":
version "1.1.0" version "1.1.0"
resolved "https://registry.yarnpkg.com/@esteemapp/react-native-multi-slider/-/react-native-multi-slider-1.1.0.tgz#16ac1df8518147daa4977cec2503caba1fbd96b5" resolved "https://registry.yarnpkg.com/@esteemapp/react-native-multi-slider/-/react-native-multi-slider-1.1.0.tgz#16ac1df8518147daa4977cec2503caba1fbd96b5"
@ -1336,7 +1327,7 @@
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA== integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==
"@types/prop-types@*", "@types/prop-types@^15.5.5": "@types/prop-types@*":
version "15.7.3" version "15.7.3"
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7" resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7"
integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw== integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==
@ -5818,7 +5809,7 @@ lodash.uniq@^4.5.0:
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=
lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.3.0: lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.3.0:
version "4.17.21" version "4.17.21"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
@ -7559,6 +7550,14 @@ react-native-modal-dropdown@ecency/react-native-modal-dropdown:
deprecated-react-native-listview "0.0.5" deprecated-react-native-listview "0.0.5"
prop-types "^15.6.0" prop-types "^15.6.0"
react-native-modal-popover@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/react-native-modal-popover/-/react-native-modal-popover-2.0.1.tgz#119fb04606a205ffff41fc56666ea4c0cc833aa6"
integrity sha512-4aqjeNf3TNSUH4tK0t9ADNGqNQmY/xb0XKGtdNGhhdSZDp0oME36dj92AKxoFeU3AzfQdmd0ehOXvYUu7aaj8g==
dependencies:
lodash "^4.17.20"
prop-types "^15.7.2"
react-native-modal-translucent@^5.0.0: react-native-modal-translucent@^5.0.0:
version "5.0.0" version "5.0.0"
resolved "https://registry.yarnpkg.com/react-native-modal-translucent/-/react-native-modal-translucent-5.0.0.tgz#8b35cfa4189dce776c77a925b00ad19d965bd0a2" resolved "https://registry.yarnpkg.com/react-native-modal-translucent/-/react-native-modal-translucent-5.0.0.tgz#8b35cfa4189dce776c77a925b00ad19d965bd0a2"