之前介绍过上传文件到
Supabase
,现在介绍下上传文件到PicGo
…
https://cctv3.net/static/20241211/react-native-upload-to-supabase.html
之前介绍过上传文件到
Supabase
,现在介绍下上传文件到PicGo
…
https://cctv3.net/static/20241211/react-native-upload-to-supabase.html
Supabase 是一个全栈解决方案,它包括了数据库、身份验证、实时更新、存储等服务,适合那些希望减少开发时间和复杂性的应用。
最近在找一个能免费存储的服务商,自己搭的应用,不想写后端,也不想乱七八糟的各种环境的部署。选来选去选择了Supabase
。
https://github.com/supabase/supabase
74.9K⭐️
,懂得都懂 …
react-native pod install 失败问题汇总
0.76.3
报错 …这个具体的报错信息没给,参考
https://github.com/facebook/react-native/issues/34189
Debugging this issue on my M1 mac, I discovered that I had
never set my git config to use the correct line endings for *nix on macOS.UPDATE: I had actually forgotten to unset them after working with a repo with Windows line endings. This means they were set togit config --global core.autocrlf true
which is the setting for windows.
This is the correct setting for linux/mac.
|
You can also unset
them and use the default which is false
|
After this, you will need to normalize all the line endings in the project (unless you want to re-clone).
https://stackoverflow.com/a/13154031
After you have done the configuration, you might want git to normalize all the files in the repo. To do this, go to to the root of your repo and run these commands:
|
If you now want git to also normalize the files in your working directory, run these commands:
|
There are some .bat
files for windows that you will not want to change, so discard those.
Once you have done these steps, you shouldn’t need any of the custom workarounds in this thread.
Originally posted by @shwanton in https://github.com/facebook/react-native/issues/34189#issuecomment-1502532287
今天遇见一个坑爹的问题,就一个小小的 Tag,外面加了一个边框,里面套了一个Text
,如果边框放大,其实根本看不出来,但是文字缩小,变宽内边距缩小就看出问题来了,根本不居中,他奶奶的各种Center
Align
嵌套都不好使 …
iOS
安装lottie
报错:
|
新项目执行pod install
报错 …
xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance
|
Unable to resolve module `./debugger-ui/debuggerWorker.d9da4ed7` from ``
公司的祖传代码升级,升级完了没法调试了 …
|
他奶奶的我就知道绝对是这个坑货搞的鬼 …
注意升级gradle
的时候,别忘了升级这个货 …
https://mvnrepository.com/artifact/com.android.tools.build/gradle