Spencer Ahrens
4d0ee37293
Add FDSStoryHeader
...
Reviewed By: TheSavior
Differential Revision: D6945233
fbshipit-source-id: 9630a72e4a7c88ca282392c374ca88326f282713
2018-02-12 18:50:21 -08:00
Valentin Shergin
a5af841d25
Prettier for View, Image and co.
...
Summary: Trivial beauty.
Reviewed By: sahrens
Differential Revision: D6715955
fbshipit-source-id: 3632750591f53d4673a2ce76309a0cc62946524d
2018-01-14 20:03:32 -08:00
Yujie Liu
489b98bf10
remove embeddedBundleURL
...
Reviewed By: fromcelticpark
Differential Revision: D6502049
fbshipit-source-id: 31a611cea4c017877c3ce2f7e9a3503723af4c2d
2017-12-21 12:02:32 -08:00
Kevin Gozali
28d5d6baf1
Fix asset resolver url handling
...
Summary:
1. file:// may get prepended to an http:// source URL during dev mode, making an invalid URL
2. the logic to detect `isLoadedFromFileSystem()` should've checked for file:// protocol to not get confused by http:// URL
Reviewed By: zahanm
Differential Revision: D6307187
fbshipit-source-id: e7e7a41bf721dd0601b0c1877e278e1e435ef5e2
2017-11-12 23:01:40 -08:00
Yujie Liu
a329e968fc
resolve iOS assets from embedded bundle path for iOS platform
...
Reviewed By: zahanm
Differential Revision: D6193907
fbshipit-source-id: 09c76a5c3d6a7777a9a823c21bfcc0fe344bc83e
2017-11-09 19:02:55 -08:00
Yujie Liu
1d6ce2311f
Rename scaledAssetURLScript function to scaledAssetURLNearBundle
...
Reviewed By: zahanm
Differential Revision: D6272905
fbshipit-source-id: bff661fcadd73a5400cea422a8a5ac5db34717a8
2017-11-08 12:17:44 -08:00
Yujie Liu
b0193b098c
Rename bundleUrl to jsbundleURL
...
Reviewed By: fkgozali
Differential Revision: D6236921
fbshipit-source-id: f1018836465ba6cf21679fe9d21c18eec762199d
2017-11-07 17:46:17 -08:00
Alex Kotliarskyi
cc86d12175
Android: put all non-drawable resources to res/raw
...
Summary: When we built packager asset system we were mostly concerned about images. However, this system can also be used to work with videos, animations and other binary resources. The code that sorts assets into Android resource folders currently just shoves all non-drawable resources under `drawable-mdpi`, which is not ideal. Talking to Android experts on the team, `raw` seems like a much better place for other resources.
Reviewed By: jeanlauliac
Differential Revision: D6026633
fbshipit-source-id: cc2199f60da411ea432972a02f52c459ff5c490a
2017-10-11 15:11:29 -07:00
Mandeep Baines
b89d6c8e04
consistent use of URL for resolving asset source
...
Reviewed By: frantic
Differential Revision: D5759789
fbshipit-source-id: daf33b6b66c4bff7f43213ee49286eafb6775f00
2017-09-08 10:47:22 -07:00
Jean Lauliac
1f8d1002ef
packager: buck library: expose asset content
...
Reviewed By: davidaurelio
Differential Revision: D4945778
fbshipit-source-id: ea132a3d284ed09c59c69afbdd7b707af9e521b9
2017-04-25 12:04:01 -07:00
Tim Yung
23331df5a4
RN: Cleanup OSS JS & Flow Declarations
...
Reviewed By: vjeux
Differential Revision: D4210763
fbshipit-source-id: 5abaa547100b8badd13bcf311ceffc5b4098d252
2016-11-20 17:58:29 -08:00
Konstantin Raev
2273e012c0
Fixes OSS build: haste module -> commonJS invariant
...
Reviewed By: mkonicek
Differential Revision: D3058276
fb-gh-sync-id: 07b98608f4e684b0e192f64743a82717e65772ea
shipit-source-id: 07b98608f4e684b0e192f64743a82717e65772ea
2016-03-16 06:57:26 -07:00
Zahan Malkani
2209131933
Introduce custom asset resolver to resolveAssetSource(..)
...
Reviewed By: frantic
Differential Revision: D2989112
fb-gh-sync-id: a678d091aeb6904448c890653f57dd7944ce95c3
shipit-source-id: a678d091aeb6904448c890653f57dd7944ce95c3
2016-03-15 20:20:27 -07:00