Skip to content

Commit 2f438ad

Browse files
buoyadchrisnojima
andauthored
Use native sms / email to send invites in invite friends (#23590)
* basic disable * tooltip + unselect button * Send sms from native app in invite friends (#23609) * compose sms * tweak message * Compose email from invite friends by contacts (#23613) * install expo-mail-composer * send email and handle error if Mail app is not set up * tweak error copy * dedupe Co-authored-by: chrisnojima <cnojima@keyba.se> Co-authored-by: chrisnojima <cnojima@keyba.se> * empty avatars on contact rows Co-authored-by: chrisnojima <cnojima@keyba.se>
1 parent bfb55c2 commit 2f438ad

20 files changed

Lines changed: 5578 additions & 5234 deletions

File tree

shared/common-adapters/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export {WebViewProps, WebViewInjections} from './web-view'
77
export {AnimationType} from './animation'
88

99
export {NavigationEvents} from '@react-navigation/core'
10-
export {LayoutAnimation} from 'react-native'
10+
export {LayoutAnimation} from 'react-native' // exported from index.native
1111

1212
export {default as Animated, Transition, animated} from './animated'
1313
export {default as Animation} from './animation'

shared/common-adapters/mobile.native.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ export {
2222
TapGestureHandler,
2323
}
2424
export {default as ZoomableImage} from './zoomable-image.native'
25+
export {LayoutAnimation} from 'react-native'

shared/common-adapters/mobile.native.native.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ module.exports = {
151151
get LabeledInput() {
152152
return Index.LabeledInput
153153
},
154+
get LayoutAnimation() {
155+
return require('react-native').LayoutAnimation
156+
},
154157
get List() {
155158
return Index.List
156159
},

shared/ios/Podfile.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ PODS:
2020
- EXImagePicker (7.0.0):
2121
- UMCore
2222
- UMFileSystemInterface
23+
- EXMailComposer (7.0.0):
24+
- UMCore
25+
- UMFileSystemInterface
2326
- EXPermissions (7.0.0):
2427
- UMCore
2528
- UMPermissionsInterface
@@ -330,6 +333,7 @@ DEPENDENCIES:
330333
- EXFileSystem (from `../node_modules/expo-file-system/ios`)
331334
- EXHaptics (from `../node_modules/expo-haptics/ios`)
332335
- EXImagePicker (from `../node_modules/expo-image-picker/ios`)
336+
- EXMailComposer (from `../node_modules/expo-mail-composer/ios`)
333337
- EXPermissions (from `../node_modules/expo-permissions/ios`)
334338
- EXSMS (from `../node_modules/expo-sms/ios`)
335339
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
@@ -420,6 +424,9 @@ EXTERNAL SOURCES:
420424
EXImagePicker:
421425
:path: !ruby/object:Pathname
422426
path: "../node_modules/expo-image-picker/ios"
427+
EXMailComposer:
428+
:path: !ruby/object:Pathname
429+
path: "../node_modules/expo-mail-composer/ios"
423430
EXPermissions:
424431
:path: !ruby/object:Pathname
425432
path: "../node_modules/expo-permissions/ios"
@@ -553,6 +560,7 @@ SPEC CHECKSUMS:
553560
EXFileSystem: 7e53a2c30a2eb6987ba6d5158ab908f947523228
554561
EXHaptics: 9279b288e4bd10ca159442269790492a8819f917
555562
EXImagePicker: 63549baa9487f4b99c03163c5639ddede4c7be4e
563+
EXMailComposer: b6d374488db559e4e5a84e5a96b17c0cb246cb89
556564
EXPermissions: df10ad83df2f6b647aec304619354f8ab48d5f63
557565
EXSMS: c5df5f35228de7f1f4b16da5e53f48af63b768e4
558566
FBLazyVector: aaeaf388755e4f29cd74acbc9e3b8da6d807c37f

shared/ios/Pods/Headers/Private/EXMailComposer/EXMailComposer.h

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

shared/ios/Pods/Headers/Public/EXMailComposer/EXMailComposer.h

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

shared/ios/Pods/Local Podspecs/EXMailComposer.podspec.json

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

shared/ios/Pods/Manifest.lock

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

0 commit comments

Comments
 (0)