@@ -199,17 +199,6 @@ async function _renderVersionedReactNativeDependenciesAsync(
199
199
return result ;
200
200
}
201
201
202
- async function _renderVersionedReactNativePostinstallsAsync (
203
- templatesDirectory ,
204
- shellAppSdkVersion
205
- ) {
206
- const filterFn = createSdkFilterFn ( shellAppSdkVersion ) ;
207
- return _concatTemplateFilesInDirectoryAsync (
208
- path . join ( templatesDirectory , 'versioned-react-native' , 'postinstalls' ) ,
209
- filterFn
210
- ) ;
211
- }
212
-
213
202
async function _concatTemplateFilesInDirectoryAsync ( directory , filterFn ) {
214
203
const templateFilenames = globSync ( '*.rb' , { absolute : true , cwd : directory } ) . sort ( ) ;
215
204
const filteredTemplateFilenames = filterFn
@@ -352,15 +341,6 @@ async function renderPodfileAsync(
352
341
rnDependencyOptions = { } ;
353
342
}
354
343
355
- const expoKitPath = moreSubstitutions . EXPOKIT_PATH ;
356
- const expoKitTag = moreSubstitutions . EXPOKIT_TAG ;
357
- let expoKitDependencyOptions = { } ;
358
- if ( expoKitPath ) {
359
- expoKitDependencyOptions = { expoKitPath } ;
360
- } else if ( expoKitTag ) {
361
- expoKitDependencyOptions = { expoKitTag } ;
362
- }
363
-
364
344
let versionedRnPath = moreSubstitutions . VERSIONED_REACT_NATIVE_PATH ;
365
345
if ( ! versionedRnPath ) {
366
346
versionedRnPath = './versioned-react-native' ;
@@ -376,10 +356,6 @@ async function renderPodfileAsync(
376
356
rnExpoSubspecs ,
377
357
shellAppSdkVersion
378
358
) ;
379
- const versionedPostinstalls = await _renderVersionedReactNativePostinstallsAsync (
380
- templatesDirectory ,
381
- shellAppSdkVersion
382
- ) ;
383
359
const podDependencies = await _renderPodDependenciesAsync (
384
360
path . join ( templatesDirectory , 'dependencies.json' ) ,
385
361
{ isPodfile : true }
0 commit comments