(config, props)
| 38 | }; |
| 39 | |
| 40 | const withSQLiteAndroidProps: ConfigPlugin<Props> = (config, props) => { |
| 41 | return withGradleProperties(config, (config) => { |
| 42 | const customBuildFlags = props?.android?.customBuildFlags ?? props?.customBuildFlags; |
| 43 | const enableFTS = props?.android?.enableFTS ?? props?.enableFTS; |
| 44 | const useSQLCipher = props?.android?.useSQLCipher ?? props?.useSQLCipher; |
| 45 | const useLibSQL = props?.android?.useLibSQL ?? props?.useLibSQL; |
| 46 | const withSQLiteVecExtension = |
| 47 | props?.android?.withSQLiteVecExtension ?? props?.withSQLiteVecExtension; |
| 48 | |
| 49 | config.modResults = updateAndroidBuildPropertyIfNeeded( |
| 50 | config.modResults, |
| 51 | 'expo.sqlite.customBuildFlags', |
| 52 | customBuildFlags |
| 53 | ); |
| 54 | config.modResults = updateAndroidBuildPropertyIfNeeded( |
| 55 | config.modResults, |
| 56 | 'expo.sqlite.enableFTS', |
| 57 | enableFTS |
| 58 | ); |
| 59 | config.modResults = updateAndroidBuildPropertyIfNeeded( |
| 60 | config.modResults, |
| 61 | 'expo.sqlite.useSQLCipher', |
| 62 | useSQLCipher |
| 63 | ); |
| 64 | config.modResults = updateAndroidBuildPropertyIfNeeded( |
| 65 | config.modResults, |
| 66 | 'expo.sqlite.useLibSQL', |
| 67 | useLibSQL |
| 68 | ); |
| 69 | config.modResults = updateAndroidBuildPropertyIfNeeded( |
| 70 | config.modResults, |
| 71 | 'expo.sqlite.withSQLiteVecExtension', |
| 72 | withSQLiteVecExtension |
| 73 | ); |
| 74 | |
| 75 | return config; |
| 76 | }); |
| 77 | }; |
| 78 | |
| 79 | const withSQLiteIOSProps: ConfigPlugin<Props> = (config, props) => { |
| 80 | return withPodfileProperties(config, (config) => { |
no test coverage detected
searching dependent graphs…