Commit d3e8bd3 1 parent c8af784 commit d3e8bd3 Copy full SHA for d3e8bd3
File tree 4 files changed +26
-4
lines changed
4 files changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -92,4 +92,8 @@ web-build/
92
92
93
93
# Android & iOS folders
94
94
android /
95
- ios /
95
+ ios /
96
+
97
+ # environment variables
98
+ .env
99
+ .env. *
Original file line number Diff line number Diff line change 2
2
"expo" : {
3
3
"name" : " Bluesky" ,
4
4
"slug" : " bluesky" ,
5
+ "scheme" : " bluesky" ,
5
6
"owner" : " blueskysocial" ,
6
7
"version" : " 1.27.0" ,
7
8
"orientation" : " portrait" ,
31
32
"NSMicrophoneUsageDescription" : " Used for posts and other kinds of content." ,
32
33
"NSPhotoLibraryAddUsageDescription" : " Used to save images to your library." ,
33
34
"NSPhotoLibraryUsageDescription" : " Used for profile pictures, posts, and other kinds of content"
34
- }
35
+ },
36
+ "associatedDomains" : [" applinks:bsky.app" , " applinks:staging.bsky.app" ]
35
37
},
36
38
"androidStatusBar" : {
37
39
"barStyle" : " dark-content" ,
43
45
"foregroundImage" : " ./assets/adaptive-icon.png" ,
44
46
"backgroundColor" : " #ffffff"
45
47
},
46
- "package" : " xyz.blueskyweb.app"
48
+ "package" : " xyz.blueskyweb.app" ,
49
+ "intentFilters" : [
50
+ {
51
+ "action" : " VIEW" ,
52
+ "autoVerify" : true ,
53
+ "data" : [
54
+ {
55
+ "scheme" : " https" ,
56
+ "host" : " bsky.app"
57
+ }
58
+ ],
59
+ "category" : [" BROWSABLE" , " DEFAULT" ]
60
+ }
61
+ ]
47
62
},
48
63
"web" : {
49
64
"favicon" : " ./assets/favicon.png"
Original file line number Diff line number Diff line change 8
8
"developmentClient" : true ,
9
9
"distribution" : " internal" ,
10
10
"ios" : {
11
+ "simulator" : true ,
11
12
"resourceClass" : " medium"
12
13
},
13
14
"channel" : " development" ,
Original file line number Diff line number Diff line change @@ -299,7 +299,9 @@ function navigate<K extends keyof AllNavigatorParams>(
299
299
function resetToTab ( tabName : 'HomeTab' | 'SearchTab' | 'NotificationsTab' ) {
300
300
if ( navigationRef . isReady ( ) ) {
301
301
navigate ( tabName )
302
- navigationRef . dispatch ( StackActions . popToTop ( ) )
302
+ if ( navigationRef . canGoBack ( ) ) {
303
+ navigationRef . dispatch ( StackActions . popToTop ( ) ) //we need to check .canGoBack() before calling it
304
+ }
303
305
}
304
306
}
305
307
You can’t perform that action at this time.
0 commit comments