Home
last modified time | relevance | path

Searched refs:stringsJSON (Results 1 – 9 of 9) sorted by relevance

/expo/packages/@expo/config-plugins/src/utils/__tests__/
H A DXML-test.ts30 let stringsJSON = await readResourcesXMLAsync({ path: stringsPath }); variable
31 expect(stringsJSON.resources.string.filter((e) => e.$.name === 'app_name')[0]._).toBe(
34 stringsJSON = setStringItem(
36 stringsJSON
41 expect(format(stringsJSON).includes(`\\'E&x<p>o\\"\\@\\n`)).toBe(true);
44 expect(stringsJSON.resources.string.filter((e) => e.$.name === 'app_name')[0]._).toBe(
69 const stringsJSON = await readResourcesXMLAsync({ path: stringsPath }); constant
70 await writeXMLAsync({ path: stringsPath, xml: stringsJSON });
/expo/packages/@expo/config-plugins/src/android/
H A DName.ts47 stringsJSON: ResourceXML
51 return setStringItem([buildResourceItem({ name: 'app_name', value: name })], stringsJSON);
53 return removeStringItem('app_name', stringsJSON);
H A DUpdates.ts75 stringsJSON: ResourceXML
82 stringsJSON
85 return removeStringItem('expo_runtime_version', stringsJSON);
/expo/packages/@expo/config-plugins/build/android/
H A DName.js69 function applyNameFromConfig(config, stringsJSON) { argument
75 })], stringsJSON);
77 return (0, _Strings().removeStringItem)('app_name', stringsJSON);
H A DUpdates.js103 async function applyRuntimeVersionFromConfigAsync(config, stringsJSON) { argument
110 })], stringsJSON);
112 return (0, _Strings().removeStringItem)('expo_runtime_version', stringsJSON);
H A DUpdates.d.ts19 …romConfigAsync(config: ExportedConfigWithProps<Resources.ResourceXML>, stringsJSON: ResourceXML): …
H A DName.js.map1stringsJSON","setStringItem","buildResourceItem","value","removeStringItem","settingsGradle","_get…
H A DUpdates.js.map1stringsJSON","runtimeVersion","getRuntimeVersionNullableAsync","setStringItem","buildResourceItem"…
/expo/packages/@expo/config-plugins/src/android/__tests__/
H A DUpdates-test.ts234 const stringsJSON = await readResourcesXMLAsync({ path: stringsPath }); constant
241 await Updates.applyRuntimeVersionFromConfigAsync(config, stringsJSON);
242 expect(format(stringsJSON)).toEqual(
252 await Updates.applyRuntimeVersionFromConfigAsync(config2, stringsJSON);
253 expect(format(stringsJSON)).toEqual('<resources/>');