Skip to content

Commit

Permalink
Merge pull request #119 from AmericaSCORESBayArea/fix/appleSignIn
Browse files Browse the repository at this point in the history
fixed apple sign in
  • Loading branch information
Ignacioals authored Jun 25, 2021
2 parents d57e79c + 5da9932 commit 23496c6
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 19 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ android {
applicationId "com.americaScoresAttendance.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 11
versionName '1.6.2c'
versionCode 12
versionName '1.7'

missingDimensionStrategy 'react-native-camera', 'general'
manifestPlaceholders = [appAuthRedirectScheme: 'com.redirectScheme.comm']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import android.app.Application;
import android.content.Context;

import androidx.multidex.MultiDex;

import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;

Expand All @@ -24,6 +26,15 @@
import javax.annotation.Nullable;

public class MainApplication extends Application implements ReactApplication {


@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}


private final ReactModuleRegistryProvider mModuleRegistryProvider = new ReactModuleRegistryProvider(
new BasePackageList().getPackageList()
);
Expand Down
42 changes: 25 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@ui-kitten/eva-icons": "^5.0.0",
"@ui-kitten/moment": "^5.0.0",
"axios": "^0.21.1",
"browserslist": "^4.16.6",
"expo": "^38.0.10",
"expo-app-auth": "~9.1.1",
"expo-google-sign-in": "~8.2.1",
Expand Down
1 change: 1 addition & 0 deletions src/Activities.Screen.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class ActivitiesScreen extends Component {

async componentDidMount() {
this._syncActivities();
await AsyncStorage.setItem('loggedStatus', "true");
if (this.props.user.firstTimeLoggedIn) {
setTimeout(() => (this.setState({welcomeModalVisibility: true})), 500);
setTimeout(() => {this.setState({welcomeModalVisibility: false})}, 3500);
Expand Down

0 comments on commit 23496c6

Please sign in to comment.