Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Allow Twitter embed URLs & Bump version (#58)
Browse files Browse the repository at this point in the history
* Intercept twitter embed URL scheme

* Bump versions
  • Loading branch information
piazzatron committed Mar 27, 2021
1 parent 36c3e87 commit 8f9169c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Expand Up @@ -142,8 +142,8 @@ android {
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled true

versionCode 86
versionName "1.0.63"
versionCode 87
versionName "1.0.64"
resValue "string", "build_config_package", "co.audius.app"
}
productFlavors {
Expand Down
16 changes: 8 additions & 8 deletions ios/AudiusReactNative.xcodeproj/project.pbxproj
Expand Up @@ -410,13 +410,13 @@
BUNDLE_ID_SUFFIX = "";
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "AudiusReactNative/Audius Music.entitlements";
CURRENT_PROJECT_VERSION = 142;
CURRENT_PROJECT_VERSION = 143;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = LRFCG93S85;
INFOPLIST_FILE = AudiusReactNative/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.0.55;
MARKETING_VERSION = 1.0.56;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -442,12 +442,12 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "AudiusReactNative/Audius Music.entitlements";
CODE_SIGN_IDENTITY = "iPhone Developer";
CURRENT_PROJECT_VERSION = 142;
CURRENT_PROJECT_VERSION = 143;
DEVELOPMENT_TEAM = LRFCG93S85;
INFOPLIST_FILE = AudiusReactNative/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.0.55;
MARKETING_VERSION = 1.0.56;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -630,13 +630,13 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "AudiusReactNative/Audius Music.entitlements";
CODE_SIGN_IDENTITY = "iPhone Developer";
CURRENT_PROJECT_VERSION = 142;
CURRENT_PROJECT_VERSION = 143;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = LRFCG93S85;
INFOPLIST_FILE = AudiusReactNative/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.0.55;
MARKETING_VERSION = 1.0.56;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -710,12 +710,12 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "AudiusReactNative/Audius Music.entitlements";
CODE_SIGN_IDENTITY = "iPhone Developer";
CURRENT_PROJECT_VERSION = 142;
CURRENT_PROJECT_VERSION = 143;
DEVELOPMENT_TEAM = LRFCG93S85;
INFOPLIST_FILE = AudiusReactNative/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.0.55;
MARKETING_VERSION = 1.0.56;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down
2 changes: 1 addition & 1 deletion ios/AudiusReactNative/Info.plist
Expand Up @@ -30,7 +30,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>142</string>
<string>143</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
4 changes: 2 additions & 2 deletions src/components/web/WebApp.tsx
Expand Up @@ -34,8 +34,8 @@ const URL_OVERRIDE = Config.URL_OVERRIDE
const STATIC_PORT = Config.STATIC_SERVER_PORT || 3100
export const URL_SCHEME = 'audius://'

// Intercept localhost://, file:///, audius://, or recaptcha
const URL_INTERCEPT_PATTERN = /^(http:\/\/localhost|file:\/\/\/|audius:\/\/|https:\/\/www.google.com\/recaptcha\/.*)/
// Intercept localhost://, file:///, audius://, twitter embed, or recaptcha
const URL_INTERCEPT_PATTERN = /^(http:\/\/localhost|file:\/\/\/|audius:\/\/|https:\/\/platform.twitter|https:\/\/www.google.com\/recaptcha\/.*)/
const AUDIUS_SITE_PREFIX = /^(https|http):\/\/audius.co\//
const AUDIUS_REDIRECT_SITE_PREFIX = /^(https|http):\/\/redirect.audius.co\/app-redirect\//
const AUDIUS_PORT_INCLUDE_PATTERN = /(:3100|:3101)/
Expand Down

0 comments on commit 8f9169c

Please sign in to comment.