This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "product": { | |
| "id": 7308729417882, | |
| "title": "Women's sexy high waist imitation drill bikini swimsuit", | |
| "body_html": "<p>Fabric: Polyester<br>Style: Sexy<br>Pattern: Striped<br>Color: Pink, Red, Black, Purple<br>Gender: Women</p>", | |
| "vendor": "1688", | |
| "product_type": "Bikinis & Sets", | |
| "created_at": "2022-04-12T08:03:46-07:00", | |
| "handle": "women-s-sexy-high-waist-imitation-drill-bikini-swimsuit-1bh0", | |
| "updated_at": "2022-04-12T08:11:38-07:00", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // save react native debug host to sd card | |
| // this is ONLY for android | |
| SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()); | |
| String debugHost = preferences.getString("debug_http_host", ""); | |
| File sdRootDir = new File(Environment.getExternalStorageDirectory(), getApplicationContext().getPackageName()); | |
| if (!sdRootDir.exists()) { | |
| sdRootDir.mkdirs(); | |
| } |