151 lines
5.7 KiB
Diff
151 lines
5.7 KiB
Diff
diff --git a/Dockerfile b/Dockerfile
|
|
index 371e8402c..2e139503e 100644
|
|
--- a/Dockerfile
|
|
+++ b/Dockerfile
|
|
@@ -66,7 +66,8 @@ RUN \. "$NVM_DIR/nvm.sh" && \
|
|
echo "EXPO_PUBLIC_BUNDLE_DATE=$(date -u +"%y%m%d%H")" >> .env && \
|
|
echo "EXPO_PUBLIC_SENTRY_DSN=$EXPO_PUBLIC_SENTRY_DSN" >> .env && \
|
|
npm install --global yarn && \
|
|
- yarn && \
|
|
+ yarn config set registry https://registry.npmjs.org/ && \
|
|
+ yarn install --frozen-lockfile --network-timeout 100000 && \
|
|
yarn intl:build 2>&1 | tee i18n.log && \
|
|
if grep -q "invalid syntax" "i18n.log"; then echo "\n\nFound compilation errors!\n\n" && exit 1; else echo "\n\nNo compile errors!\n\n"; fi && \
|
|
SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN SENTRY_RELEASE=$EXPO_PUBLIC_RELEASE_VERSION SENTRY_DIST=$EXPO_PUBLIC_BUNDLE_IDENTIFIER yarn build-web
|
|
diff --git a/app.config.js b/app.config.js
|
|
index 246d8abd3..a6582864b 100644
|
|
--- a/app.config.js
|
|
+++ b/app.config.js
|
|
@@ -33,8 +33,8 @@ module.exports = function (_config) {
|
|
return {
|
|
expo: {
|
|
version: VERSION,
|
|
- name: 'Bluesky',
|
|
- slug: 'bluesky',
|
|
+ name: 'Aiat',
|
|
+ slug: 'aiat',
|
|
scheme: 'bluesky',
|
|
owner: 'blueskysocial',
|
|
runtimeVersion: {
|
|
@@ -45,15 +45,20 @@ module.exports = function (_config) {
|
|
primaryColor: '#1083fe',
|
|
newArchEnabled: false,
|
|
ios: {
|
|
+ infoPlist: {
|
|
+ NSAppTransportSecurity: {
|
|
+ NSAllowsArbitraryLoads: true,
|
|
+ },
|
|
+ },
|
|
supportsTablet: false,
|
|
- bundleIdentifier: 'xyz.blueskyweb.app',
|
|
+ bundleIdentifier: 'ai.syui.at',
|
|
config: {
|
|
usesNonExemptEncryption: false,
|
|
},
|
|
icon:
|
|
PLATFORM === 'web' // web build doesn't like .icon files
|
|
? './assets/app-icons/ios_icon_default_next.png'
|
|
- : './assets/app-icons/ios_icon_default.icon',
|
|
+ : './assets/app-icons/ios_icon_default_next.png',
|
|
infoPlist: {
|
|
UIBackgroundModes: ['remote-notification'],
|
|
NSCameraUsageDescription:
|
|
@@ -113,7 +118,7 @@ module.exports = function (_config) {
|
|
entitlements: {
|
|
'com.apple.developer.kernel.increased-memory-limit': true,
|
|
'com.apple.developer.kernel.extended-virtual-addressing': true,
|
|
- 'com.apple.security.application-groups': 'group.app.bsky',
|
|
+ 'com.apple.security.application-groups': 'group.ai.syui.at',
|
|
},
|
|
privacyManifests: {
|
|
NSPrivacyCollectedDataTypes: [
|
|
@@ -182,7 +187,7 @@ module.exports = function (_config) {
|
|
backgroundColor: '#006AFF',
|
|
},
|
|
googleServicesFile: './google-services.json',
|
|
- package: 'xyz.blueskyweb.app',
|
|
+ package: 'ai.syui.at',
|
|
intentFilters: [
|
|
{
|
|
action: 'VIEW',
|
|
@@ -220,7 +225,7 @@ module.exports = function (_config) {
|
|
checkAutomatically: 'NEVER',
|
|
},
|
|
plugins: [
|
|
- 'expo-video',
|
|
+ 'expo-video', './plugins/withCodeSignEntitlements.js',
|
|
'expo-localization',
|
|
'expo-web-browser',
|
|
[
|
|
@@ -239,6 +244,11 @@ module.exports = function (_config) {
|
|
'expo-build-properties',
|
|
{
|
|
ios: {
|
|
+ infoPlist: {
|
|
+ NSAppTransportSecurity: {
|
|
+ NSAllowsArbitraryLoads: true,
|
|
+ },
|
|
+ },
|
|
deploymentTarget: '15.1',
|
|
buildReactNativeFromSource: true,
|
|
},
|
|
@@ -264,7 +274,6 @@ module.exports = function (_config) {
|
|
networkInstrumentation: true,
|
|
},
|
|
],
|
|
- './plugins/starterPackAppClipExtension/withStarterPackAppClip.js',
|
|
'./plugins/withGradleJVMHeapSizeIncrease.js',
|
|
'./plugins/withAndroidManifestLargeHeapPlugin.js',
|
|
'./plugins/withAndroidManifestFCMIconPlugin.js',
|
|
@@ -296,6 +305,11 @@ module.exports = function (_config) {
|
|
'expo-splash-screen',
|
|
{
|
|
ios: {
|
|
+ infoPlist: {
|
|
+ NSAppTransportSecurity: {
|
|
+ NSAllowsArbitraryLoads: true,
|
|
+ },
|
|
+ },
|
|
enableFullScreenImage_legacy: true,
|
|
backgroundColor: '#ffffff',
|
|
image: './assets/splash.png',
|
|
@@ -394,29 +408,30 @@ module.exports = function (_config) {
|
|
build: {
|
|
experimental: {
|
|
ios: {
|
|
+ infoPlist: {
|
|
+ NSAppTransportSecurity: {
|
|
+ NSAllowsArbitraryLoads: true,
|
|
+ },
|
|
+ },
|
|
appExtensions: [
|
|
{
|
|
targetName: 'Share-with-Bluesky',
|
|
- bundleIdentifier: 'xyz.blueskyweb.app.Share-with-Bluesky',
|
|
+ bundleIdentifier: 'ai.syui.at.Share-with-Bluesky',
|
|
entitlements: {
|
|
'com.apple.security.application-groups': [
|
|
- 'group.app.bsky',
|
|
+ 'group.ai.syui.at',
|
|
],
|
|
},
|
|
},
|
|
{
|
|
targetName: 'BlueskyNSE',
|
|
- bundleIdentifier: 'xyz.blueskyweb.app.BlueskyNSE',
|
|
+ bundleIdentifier: 'ai.syui.at.BlueskyNSE',
|
|
entitlements: {
|
|
'com.apple.security.application-groups': [
|
|
- 'group.app.bsky',
|
|
+ 'group.ai.syui.at',
|
|
],
|
|
},
|
|
},
|
|
- {
|
|
- targetName: 'BlueskyClip',
|
|
- bundleIdentifier: 'xyz.blueskyweb.app.AppClip',
|
|
- },
|
|
],
|
|
},
|
|
},
|