因此,我试图在运行时查找资产文件夹中图像的实际路径。
我已经使用SELECT
CASE WHEN YEAR(T.accountopen) = '2019' THEN '2019'
WHEN YEAR(T.accountopen) = '2018' THEN '2018'
as YEAROpened,
CASE WHEN US.creditscore <= 600 then '<600',
WHEN US.creditscore BETWEEN 601 AND 700 then '601-700',
WHEN US.creditscore > 700 then '>700' as creditscore,
Count (u.userid) as NumberofUsers
FROM DATE T
JOIN USER US
ON US.id = T.id
JOIN UserScore U
on U.userid = US.userid
WHERE T.accountopen > '2015/01/01'
GROUP by YEAR(T.accountopen), CASE WHEN US.creditscore <= 600 then '<600',
WHEN US.creditscore BETWEEN 601 AND 700 then '601-700',
WHEN US.creditscore > 700 then '>700'
转到主捆绑包,并且可以看到我的资产文件夹,但是不确定如何实际获取该文件夹内图像的路径。
react-native-fs
•在本机反应中这可能吗? •我看到Expo拥有一个Assets软件包,可以简化此过程,但是我没有使用Expo。
谢谢!