Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook iOS Signin Fix Attempt #671

Open
wants to merge 55 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
97b77ef
Master > Develop (#609)
lumberman Mar 10, 2021
39cf090
VC-1371 – Android icon on phone screen to access app does not work (#…
lumberman Mar 17, 2021
2e43746
VC-1368 - Create interactions for videos when the videos are started,…
lumberman Mar 17, 2021
f43d8b4
Merge branch 'master' into develop
lumberman Mar 17, 2021
c758b30
Master > Dev (#613)
lumberman Mar 18, 2021
bfff52c
VC-1412: Change Blocking Endpoint (#620)
lumberman Mar 25, 2021
d31c2bf
VC-1408: When joining the group it’s not showing users modal (#618)
lumberman Mar 26, 2021
1b468cb
VC-1403: Invite link screen looks bad (#619)
lumberman Mar 26, 2021
4c4113b
VC-1407: UI Language won’t be the same after app restart (#617)
lumberman Mar 26, 2021
6adeae9
VC-1406: Existing Reactions are missing on android (#615)
lumberman Mar 26, 2021
bdfe2fd
VC-1360: Exiting out of message context not working every time (#614)
lumberman Mar 26, 2021
7ca22cf
VC-1404: New reactions won’t appear for other users without refresh (…
lumberman Mar 26, 2021
63225f7
build(deps): bump swiperefreshlayout from 1.0.0 to 1.1.0 in /android …
dependabot-preview[bot] Mar 26, 2021
922501f
Merge branch 'master' into develop
lumberman Mar 26, 2021
6364ad0
VC-1418: Leader Zone > Step > Users Modal - Can’t exit out of this mo…
lumberman Apr 6, 2021
c42f853
VC-1417: Main question card > Footer > Invalid date (#623)
lumberman Apr 6, 2021
f06ece3
My Adventures > Have an Adventure Code link unstyled (#622)
lumberman Apr 6, 2021
17eb73d
VC-1416 Fullscreen Video on Android (#625)
lumberman Apr 6, 2021
113965e
VC-1416 - Fullscreen player orientation (#629)
lumberman Apr 16, 2021
8b5fb9a
VC-1424 - Firebase Analytics Crash the app (#627)
lumberman Apr 16, 2021
512819f
Quick Video Full Screen Fixes (Related to VC-1416)
Apr 17, 2021
87de036
Merge branch 'master' into develop
Apr 19, 2021
ccacb43
Master > Develop (#631)
lumberman Apr 20, 2021
95285d0
VC-1429 - Crash: ExceptionsManagerModule.java line 83 (#632)
lumberman Apr 20, 2021
51cdd3d
vc-1433 - Fix Missing Avatars in Members Modals Popup
Apr 22, 2021
5891e41
Minor Design Adjustments
Apr 22, 2021
374bbe8
VC-1432 - Unwanted Redirects (#633)
lumberman Apr 22, 2021
b35c01d
VC-1428 - Make English adventures the default for all languages for n…
lumberman Apr 22, 2021
bca5e75
vc-1434 – Show video banner when paused (#635)
lumberman Apr 22, 2021
8db6459
VC-1427 – Better feedback when blocking/removing users (#634)
lumberman Apr 22, 2021
cecd4de
Remove step download debouncing
Apr 22, 2021
3bfc366
Allow reporting shared messages
Apr 22, 2021
59b996a
Merge branch 'master' into develop
lumberman Apr 22, 2021
96984c1
Quick Pre-release Fixes
Apr 27, 2021
9240fc7
Merge branch 'master' into develop
lumberman Apr 27, 2021
ee7550a
Attempt to fix websockets on real devices
Apr 27, 2021
efff1de
Merge branch 'master' into develop
lumberman Apr 27, 2021
dcf8d0b
Rollback sockets.ts to pre-upgrade version.
Apr 27, 2021
004f496
Beta Apr 27 (#639) (#640)
lumberman Apr 27, 2021
b58f0ca
Fix Missing Group Name On The Adventure Cards
lumberman May 5, 2021
32b8d33
VC-1440 – Change warning string (#649)
lumberman May 5, 2021
924149c
VC-1439 – Change color of "see all members" button (#648)
lumberman May 5, 2021
421ce74
VC-1297 - Fix first Daily Release to occur next day, not same day (#650)
lumberman May 5, 2021
6c6a5f6
Added extra crashlytics for better debugging.
lumberman Jun 22, 2021
240f8e4
Update Version Number
lumberman Jun 22, 2021
209d9db
Merge branch 'master' into develop
lumberman Jun 22, 2021
b55811e
Bug fixing
lumberman Jun 22, 2021
6db2328
Redirect to home screen if error.
lumberman Jun 26, 2021
6a00ce5
Redirect to main page if fail to create adventure.
lumberman Jun 28, 2021
f62f4a7
Merge branch 'master' into develop
lumberman Jun 28, 2021
3f7d559
Better debugging and redirect on invite creation
lumberman Jun 28, 2021
d2f5629
Merge branch 'master' into develop
lumberman Jun 28, 2021
8b2430b
Fix broken YouTube videos (#666)
lumberman Aug 2, 2021
4e92f44
Fix broken Android build process (#668)
lumberman Aug 13, 2021
9f7808b
Facebook Signin Fix Attempt (#670)
lumberman Oct 19, 2021
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
8 changes: 7 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,15 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
vectorDrawables.useSupportLibrary = true
versionCode grgit.log(includes:['HEAD']).size() + 1000
// versionCode grgit.log(includes:['HEAD']).size() + 1000
versionCode 8000 // Update on release
versionName "5.6.9"
multiDexEnabled true
testBuildType System.getProperty('testBuildType', 'debug') // This will later be used to control the test apk build type
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
dexOptions {
javaMaxHeapSize "4g"
}
}

splits {
Expand Down Expand Up @@ -222,6 +226,8 @@ dependencies {
implementation 'com.google.firebase:firebase-crashlytics:17.3.0'
implementation 'com.android.support:multidex:2.0.1' // https://medium.com/@jQN/react-native-multidex-error-8f9a1daf8c34

implementation 'com.google.firebase:firebase-messaging:21.1.0'

if (enableHermes) {
def hermesPath = "../../node_modules/hermes-engine/android/";
debugImplementation files(hermesPath + "hermes-debug.aar")
Expand Down
5 changes: 3 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ buildscript {
}

// Voke: Fastline Travis
apply plugin: 'org.ajoberstar.grgit'
ext.grgit = org.ajoberstar.grgit.Grgit.open()
// August 2021 - NOT WORKING ANYMORE
// apply plugin: 'org.ajoberstar.grgit'
// ext.grgit = org.ajoberstar.grgit.Grgit.open()

allprojects {
repositories {
Expand Down
2 changes: 2 additions & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ android.enableJetifier=true

# Version of flipper SDK to use with React Native
FLIPPER_VERSION=0.85.0

firebaseMessagingVersion=21.1.0
4 changes: 2 additions & 2 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ PODS:
- react-native-video/Video (= 4.4.5)
- react-native-video/Video (4.4.5):
- React
- react-native-webview (11.4.0):
- react-native-webview (11.6.5):
- React-Core
- React-perflogger (0.64.0)
- React-RCTActionSheet (0.64.0):
Expand Down Expand Up @@ -786,7 +786,7 @@ SPEC CHECKSUMS:
react-native-startup-time: 740451fcbc7e3c8f67b036365387401ab917de1c
react-native-version-check: d8b8900e6ce03ae1568cb22ef9451f2508188883
react-native-video: eee541262ada11bc7ffe8ec5508e6a877937c462
react-native-webview: 4dfb534e9600b87fe667c5ca4fe09149383218b9
react-native-webview: 2e8fe70dc32b50d3231c23043f8e8b5a5525d346
React-perflogger: 9c547d8f06b9bf00cb447f2b75e8d7f19b7e02af
React-RCTActionSheet: 3080b6e12e0e1a5b313c8c0050699b5c794a1b11
React-RCTAnimation: 3f96f21a497ae7dabf4d2f150ee43f906aaf516f
Expand Down
15 changes: 8 additions & 7 deletions ios/Voke/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,21 @@ - (BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
// Voke: Deeplink from Facebook
// BOOL handleFBSDK = [[FBSDKApplicationDelegate sharedInstance] application:application
// openURL:url
// sourceApplication:options[UIApplicationOpenURLOptionsSourceApplicationKey]
// annotation:options[UIApplicationOpenURLOptionsAnnotationKey]
// ];
BOOL handleFBSDK = [[FBSDKApplicationDelegate sharedInstance] application:application
openURL:url
sourceApplication:options[UIApplicationOpenURLOptionsSourceApplicationKey]
annotation:options[UIApplicationOpenURLOptionsAnnotationKey]
];

// Voke: Deeplink for React Native
BOOL handleRCT = [RCTLinkingManager application:application
openURL:url
options:options
];
// Voke: Deeplink for Firebase?
// BOOL handleFirebase = [[RNFBDynamicLinksAppDelegateInterceptor sharedInstance] application:application openURL:url options:options];
// return handleFBSDK || handleRCT;
return handleRCT;
return handleFBSDK || handleRCT;
// return handleRCT;
}
// Voke: Needed for handling orientation changes
// https://github.com/wonday/react-native-orientation-locker
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"react-native-orientation-locker": "wonday/react-native-orientation-locker#master",
"react-native-permissions": "^3.0.0",
"react-native-portalize": "^1.0.7",
"react-native-push-notification": "^6.1.3",
"react-native-push-notification": "^7.4.0",
"react-native-reanimated": "^1.13.2",
"react-native-safe-area-context": "^3.1.9",
"react-native-scalable-image": "^1.1.0",
Expand All @@ -90,8 +90,8 @@
"react-native-vector-icons": "^7.1.0",
"react-native-version-check": "^3.4.2",
"react-native-video": "4.4.5",
"react-native-webview": "^11.3.1",
"react-native-youtube-iframe": "^1.2.4",
"react-native-webview": "^11.6.5",
"react-native-youtube-iframe": "^2.1.1",
"react-redux": "^7.2.2",
"redux": "^4.0.5",
"redux-persist": "^6.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/components/Video/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ function Video({
{item?.type === 'youtube' ? (
<YoutubePlayer
ref={youtubeVideo}
useLocalHTML={true}
videoId={youtubeParser(item?.url)}
width={width}
height={height}
Expand Down
14 changes: 5 additions & 9 deletions src/domain/Adventure/ReleaseDate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,15 @@ const GroupReleaseDate = (props): React.ReactElement => {
} else {
WARN('Failed to create a valid invite.', result);
setIsLoading(false);
navigation.reset({
index: 0,
type: 'stack', // Required to make dynamic nav bar to work properly.
routes: [{ name: 'LoggedInApp' }],
navigation.navigate('Adventures', {
resetTabs: Math.floor(Math.random() * 99), // Reset/Remount tabs component using random key.
});
}
} catch (e) {
setIsLoading(false);
WARN(
'Error creating invite @ ReleaseDate > Group ReleaseDate > handleContinue',
e.errors[0],
e?.error || e?.errors[0],
);
if (e?.message === 'Network request failed') {
Alert.alert(e?.message, t('checkInternet'));
Expand All @@ -163,10 +161,8 @@ const GroupReleaseDate = (props): React.ReactElement => {
} else {
// Alert.alert(`Can't create a valid invite.`, 'Please try again.');
// console.error(e);
navigation.reset({
index: 0,
type: 'stack', // Required to make dynamic nav bar to work properly.
routes: [{ name: 'LoggedInApp' }],
navigation.navigate('Adventures', {
resetTabs: Math.floor(Math.random() * 99), // Reset/Remount tabs component using random key.
});
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/domain/Adventures/AdventuresTab/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { TDataState } from 'utils/types';
import AdventuresMy from '../AdventuresMy';
import AdventuresFind from '../AdventuresFind';

const Adventures = (): React.ReactElement => {
const Adventures = ({ navigation, route }): React.ReactElement => {
const myAdventuresIds =
useSelector(({ data }: { data: TDataState }) => data.myAdventures.allIds) ||
[];
Expand All @@ -26,6 +26,7 @@ const Adventures = (): React.ReactElement => {

return (
<CustomTabs
key={route?.params?.resetTabs || 0}
tabs={[
{
key: 'my',
Expand Down
24 changes: 12 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7050,10 +7050,10 @@ react-native-portalize@^1.0.7:
resolved "https://registry.yarnpkg.com/react-native-portalize/-/react-native-portalize-1.0.7.tgz#8b3c742a06f863654d526ea1075a8596625f8482"
integrity sha512-icqopPh9ZSV+I8C5LlZN9pQJ0OMeBDNqHhP80+qDx0hOGEcsDC09wgjogbEMfJE0GcMDM7PDYtyQkqa9gIqd1g==

react-native-push-notification@^6.1.3:
version "6.1.3"
resolved "https://registry.yarnpkg.com/react-native-push-notification/-/react-native-push-notification-6.1.3.tgz#e377e91fc931d541f23b3a156f3451bae5f441a2"
integrity sha512-qNbFCkObCXwSFQbK6hJyx1Bym1D7V4XM8iN2L6eL3GAdNLmeBTdLdx3mPbKJtuaDJ1+deniFTQ2rz6hU4ELOXA==
react-native-push-notification@^7.4.0:
version "7.4.0"
resolved "https://registry.yarnpkg.com/react-native-push-notification/-/react-native-push-notification-7.4.0.tgz#81192356eddfee8eeaf72a9a696c7c90bf5b0ece"
integrity sha512-Ac3Ep71e2D8Q/Vy0OHBAO5JwhsFsNSuf9knkpXQWS0B9488nIZJLEMuTpF8610xPvGw7XxVrL/q0oZO5F1pOzw==

react-native-reanimated@^1.13.2, react-native-reanimated@^1.9.0:
version "1.13.3"
Expand Down Expand Up @@ -7152,18 +7152,18 @@ react-native-video@4.4.5:
prop-types "^15.5.10"
shaka-player "^2.4.4"

react-native-webview@^11.3.1:
version "11.4.0"
resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-11.4.0.tgz#cf8707e751231d81c17d54c5e2df0009d84e8949"
integrity sha512-il4OOJxBJgFXk8rtVgYQJIGRqYD5wJXc4By6nvnkHlH3hbyw1Mx5HKfP9Qmsy8xdCwHYgCBjUuCfHoGXJ9hMSA==
react-native-webview@^11.6.5:
version "11.6.5"
resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-11.6.5.tgz#34e86a342c6a2cbcf109db98f639f7bb8f055da2"
integrity sha512-5U+hI8snkCrFeDy+bUTszwhzcJIenaaOy3ubhY77HZq7R0pFIZzRYWkT0YXe1ymRYW9mSU96nr6S0AVDk8qkMw==
dependencies:
escape-string-regexp "2.0.0"
invariant "2.2.4"

react-native-youtube-iframe@^1.2.4:
version "1.4.1"
resolved "https://registry.yarnpkg.com/react-native-youtube-iframe/-/react-native-youtube-iframe-1.4.1.tgz#a98d6a2aba4ad5b54e1d1137291a62ec3256d71e"
integrity sha512-19a7G47VOrDHc3ABKT10OuXkMsMotX5UcK+dqhC42Kz/NZ1bBx2sf645+Kn2WWOIG+RJB2uJgnIzPMezp4hGZg==
react-native-youtube-iframe@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/react-native-youtube-iframe/-/react-native-youtube-iframe-2.1.1.tgz#d88ee972963c72a3834955048dfd1c2a0731498b"
integrity sha512-vnLzA5zcnMwa1gMqGfvkjaE82NW1Nd2Up4Q1OUz6IKm69xSG/9/m4APZ5fCN8UMhy6lH95iagd497J7jwEwz3w==
dependencies:
events "^3.2.0"

Expand Down