Samuel
embarrassed to say I'm only just learning what the CID is lol
AT Protocol Developers@atproto.com· 11 Aug 2023
A post on Bluesky can get complicated quickly with replies, quote posts, mentions, links, images, and more. We just published a guide to creating more complex posts via the Bluesky API, with Python code snippets: https://atproto.com/blog/create-post
Posting via the Bluesky API | AT Protocol
The Bluesky post record type has many features, including replies, quote-posts, embedded social cards, mentions, and images. Here's some example code for all the common post formats.
atproto.com
1 4
Samuel
Image uploads aren't working on Android an the error message is completely useless (react native's fault) In my research people have blamed: HTTP connections - not the case Flipper interference - not using flipper File needs mime type - tried, nope File needs to begin with file:/// - it is already
1 1
Samuel
so uh. if anyone else has been using uploadBlob on android/react native. please let me know. I'm worried that the list of people who that applies to is probably me, Paul, and Ansh lol
1 1
Samuel
I think the issue is that most other people online are using FormData but the API doesn't support that
1
Samuel
Fix was to remove <StatusBar style=“light”> from the tab, and instead use imperative methods inside of useFocusEffect so that it gets cleaned up when you change tabs
Samuel@samuel.fm· 11 Aug 2023
It’s currently sitting below the tab level. So if a tab switches the color to white, it won’t get reset when you change tab
7
Samuel
Ah wait a sec. I think I know what’s actually going on here
Samuel@samuel.fm· 11 Aug 2023
Today in cursed hacks to get dark mode working: the <StatusBar> component only works on iOS if it's below the main tree, and only works on android if it's above the main tree
<StatusBar> in two places for different platforms
1 4
Samuel
It’s currently sitting below the tab level. So if a tab switches the color to white, it won’t get reset when you change tab
1 4
Samuel
Today in cursed hacks to get dark mode working: the <StatusBar> component only works on iOS if it's below the main tree, and only works on android if it's above the main tree
<StatusBar> in two places for different platforms 1 2 15
Samuel
Wait. What if the main feed is just like the official app with the tabs, but in the tab to the left of following is the feeds screen where you can see all your feeds
3 16
Samuel
possibly the worlds most securely guarded donut. what are they hiding
Dunkin’ in the middle of the pentagon 4 1 10
Older posts