Skip to content
This repository was archived by the owner on Feb 9, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"assetBundlePatterns": [
"**/*"
],
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.powersync.example"
Expand All @@ -30,12 +28,24 @@
"favicon": "./assets/favicon.png"
},
"plugins": [
"expo-router",
[
"expo-camera",
{
"cameraPermission": "Allow $(PRODUCT_NAME) to access your camera."
}
],
[
"expo-build-properties",
{
"ios": {
"flipper": false,
"networkInspector": false,
"deploymentTarget": "13.4"
},
"android": {
"networkInspector": false
}
}
]
]
}
Expand Down
4 changes: 2 additions & 2 deletions app/views/console.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ const App: React.FC = () => {
{output ? (
<Table borderStyle={{ borderWidth: 2 }}>
<Row style={{ backgroundColor: '#999' }} data={cellKeys} />
{rows.map((row) => (
<Row data={cellKeys.map((key) => row[key])} />
{rows.map((row, index) => (
<Row key={index.toString()} data={cellKeys.map((key) => row[key])} />
))}
</Table>
) : null}
Expand Down
6 changes: 1 addition & 5 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
'expo-router/babel',
'react-native-reanimated/plugin',
'@babel/plugin-transform-async-generator-functions'
]
plugins: ['react-native-reanimated/plugin', '@babel/plugin-transform-async-generator-functions']
};
};
3 changes: 1 addition & 2 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties
ENV['RCT_NEW_ARCH_ENABLED'] = podfile_properties['newArchEnabled'] == 'true' ? '1' : '0'
ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] = podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR']

platform :ios, podfile_properties['ios.deploymentTarget'] || '13.0'
platform :ios, podfile_properties['ios.deploymentTarget'] || '13.4'
install! 'cocoapods',
:deterministic_uuids => false

Expand Down Expand Up @@ -63,7 +63,6 @@ target 'powersyncexample' do
config[:reactNativePath],
:mac_catalyst_enabled => false
)
__apply_Xcode_12_5_M1_post_install_workaround(installer)

# This is necessary for Xcode 14, because it signs resource bundles by default
# when building for devices.
Expand Down
Loading