HomePhabricator
Diffusion Comm ad55f7d30f14

[native] handle missing neynar config in registration

Description

[native] handle missing neynar config in registration

Summary: devs might not have the neynar.json file required to construct the neynar client. if the client doesn't exist, we use the fallback function to make the getFCAvatarURLs call.

Test Plan: removed my neynar.json file and was able to register successfully. as expected, there was no farcaster avatar option available despite connecting my farcaster account. this is because the neynar client cannot be constructed without the json file.

Reviewers: ashoat, kamil

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D13492

Details

Provenance
varunAuthored on Sep 26 2024, 8:12 AM
Reviewer
ashoat
Differential Revision
D13492: [native] handle missing neynar config in registration
Parents
rCOMMdf4780d7fc65: [native] fix action sheet padding
Branches
Unknown
Tags
Unknown