Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppCheck - Test5 - borked git filter branch caused 1038 commits to show in diff with 28 files changed :/ #1368

Closed
wants to merge 1,038 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1038 commits
Select commit Hold shift + click to select a range
20ee762
Comment context menu and reactions menu computation
lourou Oct 2, 2024
806b17d
Add constants, comments, import with aliases
lourou Oct 3, 2024
e277bf6
Merge pull request #896 from ephemeraHQ/increment-version
nmalzieu Oct 3, 2024
7d17c56
Add more comments and fix message offset
lourou Oct 3, 2024
a92f346
fix: DB Encryption Safety
Oct 3, 2024
d1ebdbb
Merge pull request #891 from ephemeraHQ/ar/202-version-update
alexrisch Oct 3, 2024
cba7c07
Merge pull request #893 from ephemeraHQ/ar/query-alignment
alexrisch Oct 3, 2024
835b80c
Add tap to dismiss conversation context menu
lourou Oct 3, 2024
e9ca7b2
Merge pull request #889 from ephemeraHQ/noe/1-1-sync-logs
alexrisch Oct 3, 2024
a6a696f
Merge pull request #673 from ephemeraHQ/ar/componet-snapshots
alexrisch Oct 3, 2024
ada5c9a
chore: Bump Xmtp and App Versions
Oct 3, 2024
b008ce6
Merge pull request #914 from ephemeraHQ/ar/chore-bump-xmtp-264
alexrisch Oct 3, 2024
0696296
Merge pull request #898 from ephemeraHQ/ts/fix-infinite-reloading-exp…
alexrisch Oct 3, 2024
10c5754
Merge pull request #890 from ephemeraHQ/lr/reply-to-long-messages
alexrisch Oct 3, 2024
f683ea3
Merge pull request #906 from ephemeraHQ/lr/tap-to-dismiss-context-menu
alexrisch Oct 3, 2024
fe6eff6
[create-pull-request] automated change
alexrisch Oct 3, 2024
78e263a
Merge pull request #915 from ephemeraHQ/increment-version
alexrisch Oct 3, 2024
28a3b07
refactor: Convert `useIsShowingPlaceholder` and `useRenderItem` to ob…
lourou Oct 4, 2024
133777b
Merge pull request #849 from ephemeraHQ/lr/chat-preview-refacto
lourou Oct 4, 2024
9e4555e
Merge pull request #905 from ephemeraHQ/ar/db-encryption-key-safety
alexrisch Oct 4, 2024
901ab7b
fix: Add some typesafety (#919)
alexrisch Oct 7, 2024
56c28f5
fix: convo key change when group members change (#939)
nmalzieu Oct 7, 2024
c6ec869
fix: Added null check for stringToHash (#941)
alexrisch Oct 7, 2024
d662b33
feat: Remove Platform Checks (#940)
alexrisch Oct 7, 2024
0402ea8
Handle landscape attachments inside chat input (#942)
nmalzieu Oct 7, 2024
cae01e5
chore: Update Build Scripts (#928)
alexrisch Oct 8, 2024
c86c6e3
fix: Android Build Increment (#957)
alexrisch Oct 8, 2024
92804c8
fix: Increment step (#955)
alexrisch Oct 9, 2024
b64484f
Increment version numbers (#954)
alexrisch Oct 9, 2024
7097c39
feat: Informative Alert for non v3 Users (#946)
alexrisch Oct 9, 2024
330c847
feat: no export default eslint rule (#947)
thierryskoda Oct 9, 2024
dcb2d38
feat: Preview Build Scripts (#952)
alexrisch Oct 9, 2024
3700afb
fix: Preview Builds (#960)
alexrisch Oct 9, 2024
3fb68b7
Noe/revoke from UI (#907)
nmalzieu Oct 10, 2024
4d82ff6
fix: Fix Syncing (#958)
alexrisch Oct 10, 2024
7b4e8b4
Noe/text input deeplink (#921)
nmalzieu Oct 10, 2024
f51795b
fix: release notes script (#969)
alexrisch Oct 10, 2024
c3def59
feat: Create Release Branch Action (#976)
alexrisch Oct 10, 2024
78ccba0
[create-pull-request] automated change (#966)
github-actions[bot] Oct 10, 2024
c8bfb57
fix: Performance Improvements for Conversation Screen (#970)
alexrisch Oct 11, 2024
f482a19
feat: Enable Debug Menu for All (#979)
alexrisch Oct 11, 2024
fb4c429
feat: add theme + start of design system + haptics (#963)
thierryskoda Oct 11, 2024
2eed7d5
feat: Notify When Group Join Fails (#949)
alexrisch Oct 13, 2024
e172e32
fix: Top level performance improvements (#986)
alexrisch Oct 15, 2024
6d0d69e
[create-pull-request] automated change (#989)
github-actions[bot] Oct 15, 2024
c00cf45
fix: Add Group Invite and group links (#995)
alexrisch Oct 16, 2024
42c691c
Increment version numbers (#996)
github-actions[bot] Oct 16, 2024
a458953
chore: Increment Android Version (#1002)
alexrisch Oct 16, 2024
901c52f
fix: Group Invite screen on iPad (#1007)
alexrisch Oct 16, 2024
3166ee9
[create-pull-request] automated change (#1008)
github-actions[bot] Oct 17, 2024
9f6a027
feat: Performance Tests (#924)
alexrisch Oct 17, 2024
11cffab
Package by Feature Proposal (ADR 001) (#1005)
technoplato Oct 17, 2024
b1e6280
gac add test deep linking script (#1011)
thierryskoda Oct 18, 2024
827d9be
feat: Group Sync Notifications (#950)
alexrisch Oct 17, 2024
bc635c0
chore: Add Min system version for macos warning (#994)
alexrisch Oct 17, 2024
7daebc7
feat: Show Profile info in join requests (#999)
alexrisch Oct 17, 2024
bea8a4d
fix: Android Push Notificaition parsing (#1018)
alexrisch Oct 17, 2024
bf7e08f
chore: Increment versions
alexrisch Oct 17, 2024
3451728
fix: Repeated messages showing as scaled and lower opacity (#1066)
alexrisch Oct 23, 2024
e58733f
Handle resolution error & timeout for deeplink (#1075)
nmalzieu Oct 23, 2024
f0c6b1d
[create-pull-request] automated change (#1077)
github-actions[bot] Oct 23, 2024
5dba028
[create-pull-request] automated change (#1081)
github-actions[bot] Oct 23, 2024
ad1e581
fix: Render Frame on initial send (#1067)
alexrisch Oct 23, 2024
75cd3ff
[create-pull-request] automated change (#1082)
github-actions[bot] Oct 23, 2024
bc051ea
fix: URL Crash (#1084)
alexrisch Oct 23, 2024
dfb97aa
Increment version numbers (#1085)
github-actions[bot] Oct 24, 2024
4f1e6f1
Fabri QA for frames & deeplinks (#1098)
nmalzieu Oct 25, 2024
3469ca5
feat: Branching Docs (#1086)
alexrisch Oct 25, 2024
6f38561
[create-pull-request] automated change (#1109)
github-actions[bot] Oct 25, 2024
e960679
Add comma to boundary for domains (#1116)
nmalzieu Oct 28, 2024
a64fa25
fix: Frames Renders on initial Send (#1113)
alexrisch Oct 28, 2024
e05b458
[create-pull-request] automated change (#1121)
github-actions[bot] Oct 28, 2024
c036525
feat: Android Variants (#984)
alexrisch Oct 17, 2024
d3a38ee
[create-pull-request] automated change (#1024)
github-actions[bot] Oct 18, 2024
f56a396
feat: more design system stuff (#1006)
thierryskoda Oct 18, 2024
cf6bacf
remove bottom sheet example stuff
thierryskoda Oct 21, 2024
a56d0d0
Rolled-up reactions (#1037)
lourou Oct 22, 2024
ef4669e
feat: TextField design system (#1074)
thierryskoda Oct 23, 2024
959fbeb
feat: Pressable Group Updates
Oct 4, 2024
e08279b
Add Tests
Oct 4, 2024
d024fb2
Correct styles on pressables
Oct 4, 2024
265422b
Update pressable style
Oct 4, 2024
ae7d833
update to design system
alexrisch Oct 15, 2024
5a8bf00
fix tests
alexrisch Oct 15, 2024
aae7d6e
recs for cleaner (#1012)
thierryskoda Oct 17, 2024
77bca53
Update to follow design system
alexrisch Oct 18, 2024
d9ef782
fix icon button styling (#1076)
thierryskoda Oct 23, 2024
243047c
fix: Xmtp Engine Rerenders, Race Conditions, Crashes (#1036)
alexrisch Oct 25, 2024
227539f
fix: EAS Build Fixes (#1099)
alexrisch Oct 25, 2024
07d73c8
Feature: Navigation Refactor (#1025)
alexrisch Oct 25, 2024
2588354
feat: remove web stuff (#1102)
thierryskoda Oct 25, 2024
6cb98d8
rebase 2.0.8 (#1105)
thierryskoda Oct 25, 2024
eab11ec
fix: Sync Account on Add (#1104)
alexrisch Oct 25, 2024
51b4ba1
fix: Run Android profile (#1107)
alexrisch Oct 25, 2024
c590a13
[create-pull-request] automated change (#1106)
github-actions[bot] Oct 25, 2024
8414954
fix open conversation
thierryskoda Oct 25, 2024
468adc5
[create-pull-request] automated change (#1110)
github-actions[bot] Oct 26, 2024
52ca1a6
[create-pull-request] automated change (#1115)
github-actions[bot] Oct 27, 2024
a85a1f1
feat: navigation header design system (#1118)
thierryskoda Oct 28, 2024
df2c639
fix: Fixed Buttons for Certain cases (#1127)
alexrisch Oct 29, 2024
2045d31
fix rainbow + remove unused stuff + add disconnect thirdweb + fix tra…
thierryskoda Oct 29, 2024
2d0cc47
Reactions drawer (#1052)
lourou Oct 31, 2024
88e9cf4
Fix open conversation on Android (#1152)
lourou Oct 31, 2024
6e97426
feat: design system icon (#1137)
thierryskoda Oct 31, 2024
0b9ce61
Update adr.001.folder and file structure.md (#1046)
technoplato Nov 1, 2024
398b64e
chore: Main -> Release 2.0.8 (#1155)
alexrisch Nov 1, 2024
33ea20d
fix: Push notifications (#1153)
alexrisch Nov 1, 2024
85d7db7
Noe/transactional frames mobile (#1100)
nmalzieu Nov 1, 2024
8d0bd78
fix: onboarding connect wallet (#1138)
thierryskoda Nov 4, 2024
a3c1937
[create-pull-request] automated change (#1159)
github-actions[bot] Nov 4, 2024
811e06c
Remove safe area bottom inset (#1168)
lourou Nov 6, 2024
0077710
bugfix: emoji picker/reaction icons cut-off on Android (#1169)
lourou Nov 8, 2024
d281a26
feat: new eslint config (#1170)
thierryskoda Nov 8, 2024
56e568d
[create-pull-request] automated change (#1171)
github-actions[bot] Nov 8, 2024
20f06c3
[create-pull-request] automated change (#1173)
github-actions[bot] Nov 9, 2024
920c92a
Fix Coinbase Wallet autoconnect (#1180)
nmalzieu Nov 12, 2024
2961cfd
feat: Text Design System Tests (#1193)
alexrisch Nov 14, 2024
b14ee59
Set primary text color in bottom sheet
lourou Nov 14, 2024
fefc5c0
Revert "Set primary text color in bottom sheet"
lourou Nov 14, 2024
f6e5998
Use the $ pattern for the reaction bottom sheet styling (#1209)
lourou Nov 15, 2024
b612ed5
feat: design system snackbar + design system examples (#1164)
thierryskoda Nov 19, 2024
7210a76
chore: Merged Main (#1218)
alexrisch Nov 19, 2024
ccb3011
Merge branch 'release/3.0.0' into release/2.0.9
alexrisch Nov 19, 2024
b0d37c2
feat: reactions and message context menu positioning (#1207)
lourou Nov 19, 2024
086fb9f
fix: android backdrop shadow and initialization (snackbar) (#1230)
lourou Nov 20, 2024
37e3dad
fix: Saving Profile Error States (#1232)
alexrisch Nov 20, 2024
06bcbd3
fix: Android Crashes (#1233)
alexrisch Nov 20, 2024
5bc942d
[create-pull-request] automated change (#1196)
github-actions[bot] Nov 20, 2024
41d9933
[create-pull-request] automated change (#1236)
github-actions[bot] Nov 20, 2024
62c353c
feat: Feedback when message myself or add myself to group (#1216)
lourou Nov 21, 2024
f7e4599
[create-pull-request] automated change (#1238)
github-actions[bot] Nov 21, 2024
1491e2b
Add logging for light/darkl mode color scheme (#1241)
lourou Nov 21, 2024
18b2b86
[create-pull-request] automated change (#1246)
github-actions[bot] Nov 22, 2024
783aa09
feat: Emoji Picker Performance Improvements (#1210)
alexrisch Nov 21, 2024
274945b
WIP
alexrisch Oct 21, 2024
ac047b3
WIP
alexrisch Oct 21, 2024
0c8089e
feat: V3 Split WIP
alexrisch Oct 23, 2024
84a28b3
WIP
alexrisch Oct 23, 2024
fa7e8ba
Finalized Conversation List Component
alexrisch Oct 24, 2024
f690126
Frames stuff
alexrisch Oct 24, 2024
a13583d
Message Status
alexrisch Oct 26, 2024
627ac3a
Message Status
alexrisch Oct 26, 2024
18fbd4c
feat: V3 Split
alexrisch Nov 5, 2024
9cee121
feat: Update to use inbox id endpoint (#1166)
alexrisch Nov 6, 2024
f36ac40
feat: Handle V3 DMs when ready (#1167)
alexrisch Nov 6, 2024
f958387
fix: Missed file merge
alexrisch Nov 7, 2024
2f5948f
Attachment sending Prep
alexrisch Nov 7, 2024
934ca96
Conversation Context and V3Message (#1172)
alexrisch Nov 8, 2024
ee3148f
fix: Fixed Native Builds (#1188)
alexrisch Nov 13, 2024
84a5683
fix: Fixes a number of conversation list issues (#1181)
alexrisch Nov 13, 2024
1fac150
feat: Remove V2 (#1213)
alexrisch Nov 18, 2024
014d3ab
fix: Android V3 Build (#1217)
alexrisch Nov 19, 2024
4f66901
Remove typeorm patch so patch step doesn't fail
Koleok Nov 20, 2024
4fca10c
fix: New DM Work (#1249)
alexrisch Nov 25, 2024
4c9692a
fix reply message in composer and messages (#1252)
thierryskoda Nov 25, 2024
b601d8c
fix: Test Updates (#1253)
alexrisch Nov 25, 2024
a4d5114
Ts/fix tsc v3 split (#1254)
thierryskoda Nov 25, 2024
ea0abbb
fix: Fix Group Admin Table (#1250)
alexrisch Nov 25, 2024
ea33338
feat: Added context menus for Conversation List V3 (#1255)
alexrisch Nov 26, 2024
1742e8f
feat: Notification Subscriptions forV3 (#1258)
alexrisch Nov 26, 2024
012db95
feat: V3 Search (#1261)
alexrisch Nov 27, 2024
c6d693e
feat: JS Android Notifications (#1214)
alexrisch Nov 27, 2024
64b8ed2
Install firebase deps
Koleok Nov 7, 2024
776e301
IOS setup
Koleok Nov 12, 2024
dbf8059
Android setup
Koleok Nov 13, 2024
3965754
Add expo build properties to dev deps
Koleok Nov 14, 2024
56d2e8f
feat: React Native 75 (#1268)
alexrisch Dec 2, 2024
20c18ab
diff (#1277)
alexrisch Dec 2, 2024
d65799d
Silence color scheme in dev, output the log in prod only (#1278)
lourou Dec 2, 2024
ee88ff6
feat: V3 JS Notification handling
alexrisch Dec 2, 2024
7199ce8
Merge branch 'release/3.0.0' into ar/merge-feature-v3-split
alexrisch Dec 2, 2024
546a439
fix: Checks
alexrisch Dec 2, 2024
1bb2e86
Merge pull request #1279 from ephemeraHQ/ar/merge-feature-v3-split
alexrisch Dec 2, 2024
87e0c8a
Ml/nostack 10 22 feat add adr for architectural plans (#1282)
technoplato Dec 3, 2024
e4c7178
feat: add depdency management strategy (#1283)
technoplato Dec 3, 2024
897a512
fix: Fixed Reply Bubble Color (#1286)
alexrisch Dec 3, 2024
c7cf687
fix: Swipable too sensitive (#1280)
alexrisch Dec 3, 2024
e211f11
move files for join group refactor (#1287)
technoplato Dec 3, 2024
e9c1c64
feat: Add Dependency Control Pattern (#1288)
technoplato Dec 3, 2024
504f710
refactor: Use State Machine for Logic in Screen (#1289)
technoplato Dec 3, 2024
cd072fa
Drop import of removed hooks (#1291)
Koleok Dec 3, 2024
d5941c4
fix: Navigating to chat from profile (#1265)
alexrisch Dec 4, 2024
be20d37
Ml/fixing types after merging join group work (#1293)
technoplato Dec 4, 2024
f73a652
Test design system props and light/dark mode (#1251)
lourou Dec 4, 2024
ad17c1b
fix: Wallet Connect (#1294)
alexrisch Dec 4, 2024
0e99c27
feat: Unread indicator on Pinned Conversations (#1302)
alexrisch Dec 5, 2024
fe5d7ae
feat: messaging attachments + consent popup (#1256)
thierryskoda Dec 5, 2024
ce4f376
Group default profile pic (#1306)
lourou Dec 5, 2024
0f615f2
fix: Update List Group Metadata (#1313)
alexrisch Dec 5, 2024
8dfed6e
[create-pull-request] automated change (#1316)
github-actions[bot] Dec 5, 2024
307eba5
feat: Conversation Context Menu Updates (#1317)
alexrisch Dec 6, 2024
d4108ff
Fix reply to (#1326)
lourou Dec 9, 2024
6f2652c
Mark conversation as read when entering chat (#1311)
lourou Dec 9, 2024
3ba87fc
chore: Bump Xmtp (#1323)
alexrisch Dec 9, 2024
f23b018
Update RN sdk version to get signature method
Koleok Nov 19, 2024
1ede352
Resolve bad rebase results
Koleok Nov 20, 2024
e47eadc
WIP auth header conversion
Koleok Nov 27, 2024
d5349f1
Remove web3 module
Koleok Dec 2, 2024
cba18bb
Update sdk usage for client/consent/conversation
Koleok Dec 3, 2024
f10b116
Bring back token refresh/retry logic
Koleok Dec 6, 2024
354699b
Break import dependency cycle
Koleok Dec 9, 2024
19089d2
feat: Translations (#1322)
alexrisch Dec 9, 2024
020d11c
feat: message context menu + reactions (#1314)
thierryskoda Dec 9, 2024
9072ed5
Ml/conv 1130 inconsistent notification deep link to chat (#1325)
technoplato Dec 9, 2024
db691ec
fix: Profile Name not showing (#1329)
alexrisch Dec 10, 2024
1c8eb9e
Add a converse user agent matching our analytics values (#1330)
nmalzieu Dec 10, 2024
c48a7c1
fix: Update Conversation List when new conversation is streamed (#1333)
alexrisch Dec 10, 2024
05476f6
fix: Streams New Messages on Created Conversations (#1336)
alexrisch Dec 10, 2024
62264ad
feat: Members in Group Title (#1337)
alexrisch Dec 10, 2024
0056574
Update RN sdk version to get signature method
Koleok Nov 19, 2024
f848606
Resolve bad rebase results
Koleok Nov 20, 2024
b6e7506
WIP auth header conversion
Koleok Nov 27, 2024
984d344
Remove web3 module
Koleok Dec 2, 2024
31fafc8
Update sdk usage for client/consent/conversation
Koleok Dec 3, 2024
4341808
Bring back token refresh/retry logic
Koleok Dec 6, 2024
95ec4b4
Break import dependency cycle
Koleok Dec 9, 2024
906a423
Merge branch 'kc/33-converse-jwt-auth' of github.com:ephemeraHQ/conve…
technoplato Dec 10, 2024
7eb8d30
fix: Intial Loading Display (#1338)
alexrisch Dec 10, 2024
5a1343b
fix: Persisted queries (#1320)
alexrisch Dec 11, 2024
85bd985
[create-pull-request] automated change (#1341)
github-actions[bot] Dec 11, 2024
1811bb9
Merge branch 'kc/33-converse-jwt-auth' into kc/33-add-firebase-appcheck
technoplato Dec 11, 2024
7a09256
app builds after merge
technoplato Dec 11, 2024
fa8350a
Fix conversation screen header styling (#1342)
lourou Dec 11, 2024
c4ee868
comments/debugging
technoplato Dec 11, 2024
966ce56
feat: improve build script to install eas if user didn't have installed
technoplato Dec 11, 2024
22c90be
feat: Members Query on Conversation List (#1343)
alexrisch Dec 12, 2024
56b6f08
Feat: JWT Authentication (#1340)
alexrisch Dec 12, 2024
d7eca99
[create-pull-request] automated change (#1344)
github-actions[bot] Dec 12, 2024
008e25f
feat: decouple dm, group and new conversation (#1331)
thierryskoda Dec 12, 2024
9a7e9cd
temp test
technoplato Dec 12, 2024
17b8c42
Merge branch 'release/3.0.0' into kc/33-add-firebase-appcheck
technoplato Dec 12, 2024
72dd5ed
clean and pod install
technoplato Dec 12, 2024
6be8084
fix query-client cache problem (#1349)
thierryskoda Dec 12, 2024
5aa5d42
app builds and installs and runs dev on iphone
technoplato Dec 12, 2024
80186a1
fix: many chat fixes (#1351)
thierryskoda Dec 13, 2024
82fef33
feat: DM Push Notifications and Native iOS Profile Updates (#1348)
alexrisch Dec 13, 2024
bc7744e
[create-pull-request] automated change (#1353)
github-actions[bot] Dec 13, 2024
5516ba7
chore: Bump Versions for Builds (#1318)
alexrisch Dec 13, 2024
4f2ef93
app check almost working
technoplato Dec 13, 2024
1cd5323
Merge branch 'release/3.0.0' into kc/33-add-firebase-appcheck
technoplato Dec 13, 2024
2b944b5
Merge branch 'release/3.0.0' into kc/33-add-firebase-appcheck
technoplato Dec 13, 2024
f06d07c
app running after merge
technoplato Dec 13, 2024
0c58201
use dev converse-unshut-labs googleservices-info.plist
technoplato Dec 13, 2024
c68a6b7
hack to use dev info plist in debug mode, prod elsewhere
technoplato Dec 13, 2024
1855693
debug tokens working on simulators; add vars to env
technoplato Dec 16, 2024
650a51d
[create-pull-request] automated change (#1363)
github-actions[bot] Dec 16, 2024
2e30ce9
pr feedback; dynamic google info plist in build scripts
technoplato Dec 17, 2024
b684f7e
pr feedback
technoplato Dec 17, 2024
fa8b6f5
Update README.md
technoplato Dec 17, 2024
298a9a0
Merge branch 'kc/33-add-firebase-appcheck' into test5
technoplato Dec 17, 2024
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
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,16 @@ ios/Converse.xcworkspace/xcshareddata/swiftpm/Package.resolved

# Reassure output directory
.reassure

# Firebase Config files
# Advice from Firebase founding engineer: https://stackoverflow.com/a/44937513/2441420
# TLDR: safe to commit publicly, but recommended to gitignore
ios/GoogleService-Info.plist
ios/GoogleService-Info-preview.plist
ios/GoogleService-Info-dev.plist

android/google-services.json
android/google-services-preview.json
android/google-services-dev.json
ios/Google Services/GoogleService-Info-prod.plist
ios/Google Services/GoogleService-Info.plist
5 changes: 5 additions & 0 deletions App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import { initSentry } from "./utils/sentry";
import "./utils/splash/splash";
import "./features/notifications/utils";
import { setupAppAttest } from "@utils/appCheck";

LogBox.ignoreLogs([
"Privy: Expected status code 200, received 400", // Privy
Expand All @@ -65,6 +66,10 @@
const styles = useStyles();
const debugRef = useRef();

useEffect(() => {
setupAppAttest();
}, []);

useCoinbaseWalletListener(true, coinbaseUrl);

useEffect(() => {
Expand All @@ -72,10 +77,10 @@
}, []);

const showDebugMenu = useCallback(() => {
if (!debugRef.current || !(debugRef.current as any).showDebugMenu) {

Check warning on line 80 in App.tsx

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
return;
}
(debugRef.current as any).showDebugMenu();

Check warning on line 83 in App.tsx

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
}, []);

useEffect(() => {
Expand Down Expand Up @@ -119,7 +124,7 @@
const AppKeyboardProvider =
Platform.OS === "ios" ? KeyboardProvider : React.Fragment;

export default function AppWithProviders() {

Check warning on line 127 in App.tsx

View workflow job for this annotation

GitHub Actions / lint

Prefer named exports
const colorScheme = useColorScheme();

const paperTheme = useMemo(() => {
Expand All @@ -137,7 +142,7 @@
<ActionSheetProvider>
<ThemeProvider value={{ themeScheme, setThemeContextOverride }}>
<PaperProvider theme={paperTheme}>
<GestureHandlerRootView style={{ flex: 1 }}>

Check warning on line 145 in App.tsx

View workflow job for this annotation

GitHub Actions / lint

Inline style: { flex: 1 }
<BottomSheetModalProvider>
<PortalProvider>
<App />
Expand Down
40 changes: 34 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ Until then Converse web will only show 1 to 1 conversations and the majority of
Web support is an end goal and the team is happy to fix any issues that are reported

### Install JS/React Native Dependencies

```
yarn
```

### Building the Web App

```
yarn start
```
Expand All @@ -72,13 +74,15 @@ yarn start
```

# Linting

```
yarn lint
```

# Testing

## Running Jest tests

Before running the tests make sure that you have a `.env` file setup with the variables variable set

```sh
Expand All @@ -88,13 +92,15 @@ yarn test
## Running Performance Tests

Capture baselines for performance tests

```sh
yarn test:perf:baseline
```

Make changes to the code to see the performance impact

Run the performance tests again to see the changes

```sh
yarn test:perf
```
Expand All @@ -103,22 +109,22 @@ yarn test:perf

Frames are expected to follow the Open Frames Standard https://github.com/open-frames/standard



# Release Processes

### Main Branch

Represents the current production code.

### Release Branches

Each release branch is based off of `main` or the release branch before it. It is used to prepare and stabilize the code for a specific release version (e.g., `release/2.0.8`).

### Feature Branches

Feature branches are longer-lived features or refactors expected to take additional time. They should be based off of the targeted feature release branch.

This structure allows code to flow **from `main` to release branches to feature branches**.


![Merge Diagram](docs/image.png)

---
Expand All @@ -128,6 +134,7 @@ This structure allows code to flow **from `main` to release branches to feature
Assuming your branch is `feature/scw`, and your feature is targeted for release `2.1.0`, follow these steps to rebase:

1. First, checkout the feature branch:

```bash
git fetch origin
git branch feature/scw -D
Expand All @@ -141,7 +148,28 @@ Assuming your branch is `feature/scw`, and your feature is targeted for release
```

### Exceptions

There are certain times where this flow does not work as intended. For example:
* Build scripts: These may need to be run off of the default main branch instead of feature or release branches.
* Read me updates: These are not required to be on a branch and can be committed directly to main.
* Bug fixes that can be OTA updated: These can be committed directly to main to perform an OTA update.

- Build scripts: These may need to be run off of the default main branch instead of feature or release branches.
- Read me updates: These are not required to be on a branch and can be committed directly to main.
- Bug fixes that can be OTA updated: These can be committed directly to main to perform an OTA update.

## Firebase Configuration

Firebase config files are not stored in git for security. New team members need to:

1. Obtain the Firebase config files from the private repository at https://github.com/ephemeraHQ/converse-app-env
2. Copy them into the correct locations:

iOS:

- ios/Google Services/GoogleService-Info.plist (prod)
- ios/Google Service-Info-preview.plist (preview)
- ios/Google Service-Info-prod.plist (dev)

Android:

TODO
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Complete the Android Firebase configuration section

The Android configuration section is marked with TODO and needs to be completed to ensure developers can properly set up Firebase for Android builds.

Would you like me to help document the correct paths for Android Firebase configuration files?


These files are required for building the app but are kept secure outside of version control.
9 changes: 9 additions & 0 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@

import appBuildNumbers from "./app.json";

const env = process.env as any;

Check warning on line 6 in app.config.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
const isDev = env.EXPO_ENV === "dev";

warnOnce(
isDev && !(process.env as any).EXPO_PUBLIC_DEV_API_URI,

Check warning on line 10 in app.config.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
"\n\n🚧 Running the app without EXPO_PUBLIC_DEV_API_URI setup\n\n"
);

const isPreview = env.EXPO_ENV === "preview";
const isProduction = !isDev && !isPreview;

export default ({ config }: ConfigContext): ExpoConfig => ({

Check warning on line 17 in app.config.ts

View workflow job for this annotation

GitHub Actions / lint

Prefer named exports
...config,
name: isDev ? "Converse DEV" : isPreview ? "Converse PREVIEW" : "Converse",
scheme: isDev ? "converse-dev" : isPreview ? "converse-preview" : "converse",
Expand All @@ -33,19 +33,28 @@
},
version: appBuildNumbers.expo.version,
assetBundlePatterns: ["**/*"],
plugins: [
"@react-native-firebase/app-check",
// https://github.com/invertase/react-native-firebase/issues/6332#issuecomment-1172950523
// ["expo-build-properties", { ios: { useFrameworks: "static" } }],
],
ios: {
supportsTablet: true,
buildNumber: appBuildNumbers.expo.ios.buildNumber,
bundleIdentifier: "com.converse.dev",
config: {
usesNonExemptEncryption: false,
},
},
android: {
package: "com.converse.dev",
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#FFFFFF",
},
versionCode: appBuildNumbers.expo.android.versionCode,
// TODO(lustig): dynamically set this based on env in Android PR for AppCheck
googleServicesFile: "./android/google-services.json",
},
web: {
favicon: "./assets/favicon.png",
Expand Down
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"expo": {
"version": "2.1.0",
"ios": {
"buildNumber": "40"
"buildNumber": "41"
},
"android": {
"versionCode": 239
"versionCode": 240
}
}
}
7 changes: 6 additions & 1 deletion config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ const ENV = {
),
alphaGroupChatUrl:
"https://converse.xyz/group-invite/UDv3aYZONQGc6_XPJY6Ch",
appCheckDebugToken: isAndroid
? undefined
: process.env.EXPO_PUBLIC_FIREBASE_APP_CHECK_DEBUG_TOKEN_IOS,
},
preview: {
...defaultConfig,
Expand All @@ -88,6 +91,7 @@ const ENV = {
].flatMap((domain) => [`https://${domain}`, `http://${domain}`, domain]),
alphaGroupChatUrl:
"https://converse.xyz/group-invite/eQAvo-WvwrdBTsHINuSMJ",
appCheckDebugToken: undefined,
},
prod: {
...defaultConfig,
Expand Down Expand Up @@ -121,10 +125,11 @@ const ENV = {
},
alphaGroupChatUrl:
"https://converse.xyz/group-invite/eQAvo-WvwrdBTsHINuSMJ",
appCheckDebugToken: undefined,
},
} as const;

const getConfig = () => {
export const getConfig = () => {
if (__DEV__) {
return ENV.dev;
} else if (Constants.expoConfig?.extra?.ENV === "preview") {
Expand Down
3 changes: 0 additions & 3 deletions eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
"developmentClient": true,
"distribution": "internal",
"channel": "development",
"env": {
"EXPO_ENV": "dev"
},
"node": "20.15.1",
"ios": {
"cocoapods": "1.14.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
import { useCallback, useMemo } from "react";
import { StyleSheet, TouchableOpacity, View } from "react-native";

import { usePreferredInboxAddress } from "@hooks/usePreferredInboxAddress";
import { usePreferredInboxName } from "@hooks/usePreferredInboxName";
import { useInboxProfileSocialsQuery } from "@queries/useInboxProfileSocialsQuery";
import { useAppTheme } from "@theme/useAppTheme";
import { InboxId } from "@xmtp/react-native-sdk";
import { useCurrentAccount } from "../../../data/store/accountsStore";
Expand Down Expand Up @@ -79,12 +76,12 @@
inboxId,
}: V3MessageSenderAvatarProps) => {
const currentAccount = useCurrentAccount();
const { data: senderSocials } = useInboxProfileSocialsQuery(

Check failure on line 79 in features/conversation/conversation-message/conversation-message-sender-avatar.tsx

View workflow job for this annotation

GitHub Actions / tsc

Cannot find name 'useInboxProfileSocialsQuery'.
currentAccount!,
inboxId
);
const address = usePreferredInboxAddress(inboxId);

Check failure on line 83 in features/conversation/conversation-message/conversation-message-sender-avatar.tsx

View workflow job for this annotation

GitHub Actions / tsc

Cannot find name 'usePreferredInboxAddress'.
const name = usePreferredInboxName(inboxId);

Check failure on line 84 in features/conversation/conversation-message/conversation-message-sender-avatar.tsx

View workflow job for this annotation

GitHub Actions / tsc

Cannot find name 'usePreferredInboxName'.
const avatarUri = getPreferredInboxAvatar(senderSocials);

const openProfile = useCallback(() => {
Expand Down
Loading
Loading