create-gufran-expo-app 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/createApp.js +7 -2
- package/package.json +1 -1
- package/template/App.tsx +118 -0
- package/template/ReactotronConfig.js +5 -0
- package/template/android/app/build.gradle +184 -0
- package/template/android/app/debug.keystore +0 -0
- package/template/android/app/google-services.json +29 -0
- package/template/android/app/proguard-rules.pro +14 -0
- package/template/android/app/src/debug/AndroidManifest.xml +7 -0
- package/template/android/app/src/debugOptimized/AndroidManifest.xml +7 -0
- package/template/android/app/src/main/AndroidManifest.xml +28 -0
- package/template/android/app/src/main/assets/fonts/Outfit-Bold.ttf +0 -0
- package/template/android/app/src/main/assets/fonts/Outfit-Light.ttf +0 -0
- package/template/android/app/src/main/assets/fonts/Outfit-Medium.ttf +0 -0
- package/template/android/app/src/main/assets/fonts/Outfit-Regular.ttf +0 -0
- package/template/android/app/src/main/assets/fonts/Outfit-SemiBold.ttf +0 -0
- package/template/android/app/src/main/java/com/club/yakka/MainActivity.kt +61 -0
- package/template/android/app/src/main/java/com/club/yakka/MainApplication.kt +60 -0
- package/template/android/app/src/main/res/drawable/ic_launcher_background.xml +6 -0
- package/template/android/app/src/main/res/drawable/rn_edit_text_material.xml +37 -0
- package/template/android/app/src/main/res/drawable-hdpi/splashscreen_logo.png +0 -0
- package/template/android/app/src/main/res/drawable-mdpi/splashscreen_logo.png +0 -0
- package/template/android/app/src/main/res/drawable-xhdpi/splashscreen_logo.png +0 -0
- package/template/android/app/src/main/res/drawable-xxhdpi/splashscreen_logo.png +0 -0
- package/template/android/app/src/main/res/drawable-xxxhdpi/splashscreen_logo.png +0 -0
- package/template/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +5 -0
- package/template/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +5 -0
- package/template/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp +0 -0
- package/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp +0 -0
- package/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp +0 -0
- package/template/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp +0 -0
- package/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp +0 -0
- package/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp +0 -0
- package/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp +0 -0
- package/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp +0 -0
- package/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp +0 -0
- package/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp +0 -0
- package/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp +0 -0
- package/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp +0 -0
- package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp +0 -0
- package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp +0 -0
- package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp +0 -0
- package/template/android/app/src/main/res/values/colors.xml +6 -0
- package/template/android/app/src/main/res/values/strings.xml +5 -0
- package/template/android/app/src/main/res/values/styles.xml +14 -0
- package/template/android/app/src/main/res/values-night/colors.xml +1 -0
- package/template/android/build.gradle +33 -0
- package/template/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/template/android/gradle/wrapper/gradle-wrapper.properties +7 -0
- package/template/android/gradle.properties +65 -0
- package/template/android/gradlew +251 -0
- package/template/android/gradlew.bat +94 -0
- package/template/android/settings.gradle +39 -0
- package/template/app.json +69 -0
- package/template/assets/adaptive-icon.png +0 -0
- package/template/assets/adaptive-icon1.png +0 -0
- package/template/assets/app_icon.png +0 -0
- package/template/assets/favicon.png +0 -0
- package/template/assets/icon.png +0 -0
- package/template/assets/splash-icon.png +0 -0
- package/template/babel-plugin-disable-font-scaling.js +41 -0
- package/template/babel.config.js +28 -0
- package/template/firebase.json +5 -0
- package/template/index.ts +24 -0
- package/template/ios/.xcode.env +11 -0
- package/template/ios/ClubYakka/AppDelegate.swift +74 -0
- package/template/ios/ClubYakka/ClubYakka-Bridging-Header.h +3 -0
- package/template/ios/ClubYakka/ClubYakka.entitlements +8 -0
- package/template/ios/ClubYakka/GoogleService-Info.plist +30 -0
- package/template/ios/ClubYakka/Images.xcassets/AppIcon.appiconset/App-Icon-1024x1024@1x.png +0 -0
- package/template/ios/ClubYakka/Images.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/template/ios/ClubYakka/Images.xcassets/Contents.json +6 -0
- package/template/ios/ClubYakka/Images.xcassets/SplashScreenBackground.colorset/Contents.json +20 -0
- package/template/ios/ClubYakka/Images.xcassets/SplashScreenLegacy.imageset/Contents.json +23 -0
- package/template/ios/ClubYakka/Images.xcassets/SplashScreenLegacy.imageset/image.png +0 -0
- package/template/ios/ClubYakka/Images.xcassets/SplashScreenLegacy.imageset/image@2x.png +0 -0
- package/template/ios/ClubYakka/Images.xcassets/SplashScreenLegacy.imageset/image@3x.png +0 -0
- package/template/ios/ClubYakka/Info.plist +101 -0
- package/template/ios/ClubYakka/PrivacyInfo.xcprivacy +50 -0
- package/template/ios/ClubYakka/SplashScreen.storyboard +48 -0
- package/template/ios/ClubYakka/Supporting/Expo.plist +12 -0
- package/template/ios/ClubYakka.xcodeproj/project.pbxproj +669 -0
- package/template/ios/ClubYakka.xcodeproj/xcshareddata/xcschemes/ClubYakka.xcscheme +88 -0
- package/template/ios/ClubYakka.xcworkspace/contents.xcworkspacedata +10 -0
- package/template/ios/ClubYakka.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +5 -0
- package/template/ios/Podfile +84 -0
- package/template/ios/Podfile.lock +2698 -0
- package/template/ios/Podfile.properties.json +8 -0
- package/template/metro.config.js +17 -0
- package/template/package.json +70 -0
- package/template/patches/react-native-background-upload+6.6.0.patch +704 -0
- package/template/react-native.config.js +7 -0
- package/template/src/assets/fonts/Outfit-Bold.ttf +0 -0
- package/template/src/assets/fonts/Outfit-Light.ttf +0 -0
- package/template/src/assets/fonts/Outfit-Medium.ttf +0 -0
- package/template/src/assets/fonts/Outfit-Regular.ttf +0 -0
- package/template/src/assets/fonts/Outfit-SemiBold.ttf +0 -0
- package/template/src/assets/icons/BG.svg +33 -0
- package/template/src/assets/icons/Ic_Users.svg +6 -0
- package/template/src/assets/icons/arrow-left-white.svg +4 -0
- package/template/src/assets/icons/arrow-left.svg +4 -0
- package/template/src/assets/icons/bell.svg +4 -0
- package/template/src/assets/icons/bottomSheetIcone.svg +3 -0
- package/template/src/assets/icons/call.svg +4 -0
- package/template/src/assets/icons/camera.svg +0 -0
- package/template/src/assets/icons/chatAppleGreenBG.svg +22 -0
- package/template/src/assets/icons/check.svg +4 -0
- package/template/src/assets/icons/check_Radio.svg +4 -0
- package/template/src/assets/icons/chevron-right.svg +3 -0
- package/template/src/assets/icons/clubDefauldImage.png +0 -0
- package/template/src/assets/icons/curvBackgroundView.svg +3 -0
- package/template/src/assets/icons/defaultClub.png +0 -0
- package/template/src/assets/icons/email.svg +3 -0
- package/template/src/assets/icons/emptyUser.svg +5 -0
- package/template/src/assets/icons/eye-Hide.svg +8 -0
- package/template/src/assets/icons/eye.svg +4 -0
- package/template/src/assets/icons/gallery.svg +4 -0
- package/template/src/assets/icons/home.svg +4 -0
- package/template/src/assets/icons/ic_Calendar.svg +14 -0
- package/template/src/assets/icons/ic_Calendar_blue.svg +12 -0
- package/template/src/assets/icons/ic_Calendar_white.svg +12 -0
- package/template/src/assets/icons/ic_Chat.svg +14 -0
- package/template/src/assets/icons/ic_ChatAppleGreen.svg +21 -0
- package/template/src/assets/icons/ic_ChatAppleWhite.svg +21 -0
- package/template/src/assets/icons/ic_Download.svg +6 -0
- package/template/src/assets/icons/ic_Events.svg +6 -0
- package/template/src/assets/icons/ic_HeadCoachIcon.svg +3 -0
- package/template/src/assets/icons/ic_Membership.svg +10 -0
- package/template/src/assets/icons/ic_Notification.svg +6 -0
- package/template/src/assets/icons/ic_Raffles.svg +14 -0
- package/template/src/assets/icons/ic_Referral_Members.svg +12 -0
- package/template/src/assets/icons/ic_Shop.svg +13 -0
- package/template/src/assets/icons/ic_Teams.svg +8 -0
- package/template/src/assets/icons/ic_Volunteer.svg +9 -0
- package/template/src/assets/icons/ic_add.svg +3 -0
- package/template/src/assets/icons/ic_addCircle.svg +5 -0
- package/template/src/assets/icons/ic_chatSend.svg +4 -0
- package/template/src/assets/icons/ic_chat_blue_bg.svg +22 -0
- package/template/src/assets/icons/ic_clock_blue.svg +4 -0
- package/template/src/assets/icons/ic_delete.svg +8 -0
- package/template/src/assets/icons/ic_more.svg +5 -0
- package/template/src/assets/icons/ic_mute.svg +10 -0
- package/template/src/assets/icons/ic_pdf.svg +3 -0
- package/template/src/assets/icons/ic_pending_AppleGreen.svg +11 -0
- package/template/src/assets/icons/ic_right_appleGreen.svg +11 -0
- package/template/src/assets/icons/ic_unread_chat_blue_bg.svg +23 -0
- package/template/src/assets/icons/ic_volunteer_Member.svg +8 -0
- package/template/src/assets/icons/index.ts +144 -0
- package/template/src/assets/icons/location-blue.svg +4 -0
- package/template/src/assets/icons/location-white.svg +4 -0
- package/template/src/assets/icons/location.svg +4 -0
- package/template/src/assets/icons/lock.svg +5 -0
- package/template/src/assets/icons/log-out.svg +5 -0
- package/template/src/assets/icons/login_logo.svg +9 -0
- package/template/src/assets/icons/mail.svg +4 -0
- package/template/src/assets/icons/or_saprater.svg +5 -0
- package/template/src/assets/icons/password.svg +4 -0
- package/template/src/assets/icons/profile-appleGreen.svg +6 -0
- package/template/src/assets/icons/search.svg +3 -0
- package/template/src/assets/icons/settings.svg +4 -0
- package/template/src/assets/icons/success.svg +4 -0
- package/template/src/assets/icons/unCheck_Radio.svg +3 -0
- package/template/src/assets/icons/uncheck.svg +3 -0
- package/template/src/assets/icons/upload_Image.svg +6 -0
- package/template/src/assets/icons/upload_Image_Member.svg +6 -0
- package/template/src/assets/icons/user.svg +4 -0
- package/template/src/assets/icons/wifi.svg +1 -0
- package/template/src/assets/images/Splash.png +0 -0
- package/template/src/assets/images/SplashLogo.png +0 -0
- package/template/src/assets/images/background.png +0 -0
- package/template/src/assets/images/clubDefauldImage.png +0 -0
- package/template/src/assets/images/index.tsx +9 -0
- package/template/src/assets/index.ts +1 -0
- package/template/src/components/common/AddMemberModal.tsx +543 -0
- package/template/src/components/common/AppLoader.tsx +91 -0
- package/template/src/components/common/Button.tsx +173 -0
- package/template/src/components/common/ClubCard.tsx +248 -0
- package/template/src/components/common/Icon.tsx +93 -0
- package/template/src/components/common/IconAlt.tsx +65 -0
- package/template/src/components/common/IconButton.tsx +92 -0
- package/template/src/components/common/ImagePicker.tsx +451 -0
- package/template/src/components/common/LoadingSpinner.tsx +30 -0
- package/template/src/components/common/OTPInput.tsx +128 -0
- package/template/src/components/common/ReminderCalendar.tsx +129 -0
- package/template/src/components/common/ReminderCardItem.tsx +91 -0
- package/template/src/components/common/SafeAreaWrapper.tsx +27 -0
- package/template/src/components/common/SetReminderModal.tsx +308 -0
- package/template/src/components/common/SlowInternet.js +57 -0
- package/template/src/components/common/TeamCard.tsx +297 -0
- package/template/src/components/common/TextInput.tsx +227 -0
- package/template/src/components/common/ToastConfig.tsx +103 -0
- package/template/src/components/common/ToastManager.ts +86 -0
- package/template/src/components/common/UploadProgressModal.tsx +284 -0
- package/template/src/components/common/WrapperContainer.tsx +39 -0
- package/template/src/components/common/index.ts +19 -0
- package/template/src/constants/Constants.tsx +7 -0
- package/template/src/constants/Fonts.tsx +30 -0
- package/template/src/constants/index.ts +45 -0
- package/template/src/constants/strings.ts +211 -0
- package/template/src/constants/theme.ts +72 -0
- package/template/src/contexts/AuthContext.tsx +268 -0
- package/template/src/contexts/index.ts +2 -0
- package/template/src/hooks/index.ts +3 -0
- package/template/src/hooks/useImageUpload.ts +199 -0
- package/template/src/index.ts +8 -0
- package/template/src/navigation/AuthStack.tsx +67 -0
- package/template/src/navigation/MainStack.tsx +183 -0
- package/template/src/navigation/MiddleStack.tsx +35 -0
- package/template/src/navigation/RootNavigator.tsx +101 -0
- package/template/src/navigation/index.ts +5 -0
- package/template/src/navigation/navigationRef.ts +5 -0
- package/template/src/providers/QueryProvider.tsx +30 -0
- package/template/src/screens/DetailsScreen.tsx +271 -0
- package/template/src/screens/HomeScreen.tsx +736 -0
- package/template/src/screens/ProfileScreen.tsx +202 -0
- package/template/src/screens/SettingsScreen.tsx +253 -0
- package/template/src/screens/SportHubScreen.tsx +280 -0
- package/template/src/screens/auth/AddMamber.tsx +428 -0
- package/template/src/screens/auth/ForgotPasswordScreen.tsx +176 -0
- package/template/src/screens/auth/LoginScreen.tsx +286 -0
- package/template/src/screens/auth/OTPVerifyScreen.tsx +359 -0
- package/template/src/screens/auth/RegisterScreen.tsx +430 -0
- package/template/src/screens/auth/SuccessScreen.tsx +201 -0
- package/template/src/screens/auth/WalcomeScreen.tsx +274 -0
- package/template/src/screens/auth/index.ts +8 -0
- package/template/src/screens/chat/ChatScreen.tsx +1819 -0
- package/template/src/screens/chat/ChatThreadsScreen.tsx +360 -0
- package/template/src/screens/chat/ReportMessageScreen.tsx +238 -0
- package/template/src/screens/clubs/Announcements.tsx +426 -0
- package/template/src/screens/clubs/BuyRaffleTicketsScreen.tsx +568 -0
- package/template/src/screens/clubs/ClubDeteils.tsx +497 -0
- package/template/src/screens/clubs/JoinClub.tsx +841 -0
- package/template/src/screens/events/EventScreen.tsx +460 -0
- package/template/src/screens/index.ts +42 -0
- package/template/src/screens/raffles/MyReferralMembersScreen.tsx +758 -0
- package/template/src/screens/raffles/RaffleDetailsScreen.tsx +762 -0
- package/template/src/screens/raffles/RafflesScreen.tsx +495 -0
- package/template/src/screens/raffles/SetRaffleReminderScreen.tsx +390 -0
- package/template/src/screens/teams/JoinTeamScreen.tsx +464 -0
- package/template/src/screens/teams/MyTeamDetailsScreen.tsx +979 -0
- package/template/src/screens/teams/MyTeamScreen.tsx +568 -0
- package/template/src/screens/teams/PendingRequestsScreen.tsx +426 -0
- package/template/src/screens/volunteerOpportunities/SetReminderScreen.tsx +631 -0
- package/template/src/screens/volunteerOpportunities/VolunteerOpportunitiesDetailsScreen.tsx +1049 -0
- package/template/src/screens/volunteerOpportunities/VolunteerOpportunitiesScreen.tsx +608 -0
- package/template/src/services/api.ts +167 -0
- package/template/src/services/authService.ts +422 -0
- package/template/src/services/index.ts +5 -0
- package/template/src/services/mainServices.ts +1963 -0
- package/template/src/stores/authStore.ts +159 -0
- package/template/src/stores/index.ts +2 -0
- package/template/src/types/index.ts +85 -0
- package/template/src/types/navigation.ts +206 -0
- package/template/src/utils/AzureUploaderService.ts +371 -0
- package/template/src/utils/ClubSearchManager.ts +222 -0
- package/template/src/utils/NotificationManager.ts +503 -0
- package/template/src/utils/UploadDebugUtil.ts +107 -0
- package/template/src/utils/imagePicker.ts +321 -0
- package/template/src/utils/index.ts +111 -0
- package/template/src/utils/permissions.ts +277 -0
- package/template/src/utils/scaling.ts +14 -0
- package/template/src/utils/storage.ts +247 -0
- package/template/src/utils/usePermissions.ts +275 -0
- package/template/src/utils/validation.ts +340 -0
- package/template/tsconfig.json +50 -0
- package/template/types/svg.d.ts +6 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
module.exports = function (api) {
|
|
2
|
+
api.cache(true);
|
|
3
|
+
return {
|
|
4
|
+
presets: ['babel-preset-expo'],
|
|
5
|
+
plugins: [
|
|
6
|
+
[
|
|
7
|
+
'module-resolver',
|
|
8
|
+
{
|
|
9
|
+
root: ['./src'],
|
|
10
|
+
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json'],
|
|
11
|
+
alias: {
|
|
12
|
+
'@navigation': './src/types/navigation',
|
|
13
|
+
'@assets': './src/assets',
|
|
14
|
+
'@constants': './src/constants',
|
|
15
|
+
'@utils': './src/utils',
|
|
16
|
+
'@components': './src/components',
|
|
17
|
+
'@stores': './src/stores',
|
|
18
|
+
'@services': './src/services',
|
|
19
|
+
'@config': './src/config',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
'@babel/plugin-transform-export-namespace-from',
|
|
24
|
+
'./babel-plugin-disable-font-scaling.js', // Add custom plugin to disable font scaling
|
|
25
|
+
'react-native-reanimated/plugin',
|
|
26
|
+
],
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { registerRootComponent } from 'expo';
|
|
2
|
+
import "react-native-gesture-handler";
|
|
3
|
+
import { Platform } from 'react-native';
|
|
4
|
+
import App from './App';
|
|
5
|
+
import messaging from "@react-native-firebase/messaging";
|
|
6
|
+
import NotificationManager from './src/utils/NotificationManager';
|
|
7
|
+
import notifee from '@notifee/react-native';
|
|
8
|
+
|
|
9
|
+
if (Platform.OS === "android") {
|
|
10
|
+
messaging().setBackgroundMessageHandler(async (remoteMessage) => {
|
|
11
|
+
console.log("setBackgroundMessageHandler>>>>>>");
|
|
12
|
+
NotificationManager.displayNotification(remoteMessage);
|
|
13
|
+
});
|
|
14
|
+
notifee.onBackgroundEvent(async ({ type, detail }) => {
|
|
15
|
+
console.log("invokeAndroidBackgroundEvent>>>>>>");
|
|
16
|
+
NotificationManager.invokeAndroidBackgroundEvent(type, detail);
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
registerRootComponent(App);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# This `.xcode.env` file is versioned and is used to source the environment
|
|
2
|
+
# used when running script phases inside Xcode.
|
|
3
|
+
# To customize your local environment, you can create an `.xcode.env.local`
|
|
4
|
+
# file that is not versioned.
|
|
5
|
+
|
|
6
|
+
# NODE_BINARY variable contains the PATH to the node executable.
|
|
7
|
+
#
|
|
8
|
+
# Customize the NODE_BINARY variable here.
|
|
9
|
+
# For example, to use nvm with brew, add the following line
|
|
10
|
+
# . "$(brew --prefix nvm)/nvm.sh" --no-use
|
|
11
|
+
export NODE_BINARY=$(command -v node)
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import Expo
|
|
2
|
+
import FirebaseCore
|
|
3
|
+
import React
|
|
4
|
+
import ReactAppDependencyProvider
|
|
5
|
+
|
|
6
|
+
@UIApplicationMain
|
|
7
|
+
public class AppDelegate: ExpoAppDelegate {
|
|
8
|
+
var window: UIWindow?
|
|
9
|
+
|
|
10
|
+
var reactNativeDelegate: ExpoReactNativeFactoryDelegate?
|
|
11
|
+
var reactNativeFactory: RCTReactNativeFactory?
|
|
12
|
+
|
|
13
|
+
public override func application(
|
|
14
|
+
_ application: UIApplication,
|
|
15
|
+
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
|
|
16
|
+
) -> Bool {
|
|
17
|
+
let delegate = ReactNativeDelegate()
|
|
18
|
+
let factory = ExpoReactNativeFactory(delegate: delegate)
|
|
19
|
+
delegate.dependencyProvider = RCTAppDependencyProvider()
|
|
20
|
+
|
|
21
|
+
reactNativeDelegate = delegate
|
|
22
|
+
reactNativeFactory = factory
|
|
23
|
+
bindReactNativeFactory(factory)
|
|
24
|
+
|
|
25
|
+
#if os(iOS) || os(tvOS)
|
|
26
|
+
window = UIWindow(frame: UIScreen.main.bounds)
|
|
27
|
+
// @generated begin @react-native-firebase/app-didFinishLaunchingWithOptions - expo prebuild (DO NOT MODIFY) sync-10e8520570672fd76b2403b7e1e27f5198a6349a
|
|
28
|
+
FirebaseApp.configure()
|
|
29
|
+
// @generated end @react-native-firebase/app-didFinishLaunchingWithOptions
|
|
30
|
+
factory.startReactNative(
|
|
31
|
+
withModuleName: "main",
|
|
32
|
+
in: window,
|
|
33
|
+
launchOptions: launchOptions)
|
|
34
|
+
#endif
|
|
35
|
+
|
|
36
|
+
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// Linking API
|
|
40
|
+
public override func application(
|
|
41
|
+
_ app: UIApplication,
|
|
42
|
+
open url: URL,
|
|
43
|
+
options: [UIApplication.OpenURLOptionsKey: Any] = [:]
|
|
44
|
+
) -> Bool {
|
|
45
|
+
return super.application(app, open: url, options: options) || RCTLinkingManager.application(app, open: url, options: options)
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Universal Links
|
|
49
|
+
public override func application(
|
|
50
|
+
_ application: UIApplication,
|
|
51
|
+
continue userActivity: NSUserActivity,
|
|
52
|
+
restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void
|
|
53
|
+
) -> Bool {
|
|
54
|
+
let result = RCTLinkingManager.application(application, continue: userActivity, restorationHandler: restorationHandler)
|
|
55
|
+
return super.application(application, continue: userActivity, restorationHandler: restorationHandler) || result
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
class ReactNativeDelegate: ExpoReactNativeFactoryDelegate {
|
|
60
|
+
// Extension point for config-plugins
|
|
61
|
+
|
|
62
|
+
override func sourceURL(for bridge: RCTBridge) -> URL? {
|
|
63
|
+
// needed to return the correct URL for expo-dev-client.
|
|
64
|
+
bridge.bundleURL ?? bundleURL()
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
override func bundleURL() -> URL? {
|
|
68
|
+
#if DEBUG
|
|
69
|
+
return RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: ".expo/.virtual-metro-entry")
|
|
70
|
+
#else
|
|
71
|
+
return Bundle.main.url(forResource: "main", withExtension: "jsbundle")
|
|
72
|
+
#endif
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>API_KEY</key>
|
|
6
|
+
<string>AIzaSyAXsJwJ1Z2ucu9tfs2gvOcf_5Nsi3glY7M</string>
|
|
7
|
+
<key>GCM_SENDER_ID</key>
|
|
8
|
+
<string>491798464119</string>
|
|
9
|
+
<key>PLIST_VERSION</key>
|
|
10
|
+
<string>1</string>
|
|
11
|
+
<key>BUNDLE_ID</key>
|
|
12
|
+
<string>com.club.yakka</string>
|
|
13
|
+
<key>PROJECT_ID</key>
|
|
14
|
+
<string>club-yaka</string>
|
|
15
|
+
<key>STORAGE_BUCKET</key>
|
|
16
|
+
<string>club-yaka.firebasestorage.app</string>
|
|
17
|
+
<key>IS_ADS_ENABLED</key>
|
|
18
|
+
<false></false>
|
|
19
|
+
<key>IS_ANALYTICS_ENABLED</key>
|
|
20
|
+
<false></false>
|
|
21
|
+
<key>IS_APPINVITE_ENABLED</key>
|
|
22
|
+
<true></true>
|
|
23
|
+
<key>IS_GCM_ENABLED</key>
|
|
24
|
+
<true></true>
|
|
25
|
+
<key>IS_SIGNIN_ENABLED</key>
|
|
26
|
+
<true></true>
|
|
27
|
+
<key>GOOGLE_APP_ID</key>
|
|
28
|
+
<string>1:491798464119:ios:a685bf1bc9f13d2762a872</string>
|
|
29
|
+
</dict>
|
|
30
|
+
</plist>
|
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"colors": [
|
|
3
|
+
{
|
|
4
|
+
"color": {
|
|
5
|
+
"components": {
|
|
6
|
+
"alpha": "1.000",
|
|
7
|
+
"blue": "1.00000000000000",
|
|
8
|
+
"green": "1.00000000000000",
|
|
9
|
+
"red": "1.00000000000000"
|
|
10
|
+
},
|
|
11
|
+
"color-space": "srgb"
|
|
12
|
+
},
|
|
13
|
+
"idiom": "universal"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"info": {
|
|
17
|
+
"version": 1,
|
|
18
|
+
"author": "expo"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"images": [
|
|
3
|
+
{
|
|
4
|
+
"idiom": "universal",
|
|
5
|
+
"filename": "image.png",
|
|
6
|
+
"scale": "1x"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"idiom": "universal",
|
|
10
|
+
"filename": "image@2x.png",
|
|
11
|
+
"scale": "2x"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"idiom": "universal",
|
|
15
|
+
"filename": "image@3x.png",
|
|
16
|
+
"scale": "3x"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"info": {
|
|
20
|
+
"version": 1,
|
|
21
|
+
"author": "expo"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>BGTaskSchedulerPermittedIdentifiers</key>
|
|
6
|
+
<array>
|
|
7
|
+
<string>com.club.yakka.background-processing</string>
|
|
8
|
+
</array>
|
|
9
|
+
<key>CADisableMinimumFrameDurationOnPhone</key>
|
|
10
|
+
<true/>
|
|
11
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
12
|
+
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
13
|
+
<key>CFBundleDisplayName</key>
|
|
14
|
+
<string>Club Yakka</string>
|
|
15
|
+
<key>CFBundleExecutable</key>
|
|
16
|
+
<string>$(EXECUTABLE_NAME)</string>
|
|
17
|
+
<key>CFBundleIdentifier</key>
|
|
18
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
19
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
20
|
+
<string>6.0</string>
|
|
21
|
+
<key>CFBundleName</key>
|
|
22
|
+
<string>$(PRODUCT_NAME)</string>
|
|
23
|
+
<key>CFBundlePackageType</key>
|
|
24
|
+
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
|
|
25
|
+
<key>CFBundleShortVersionString</key>
|
|
26
|
+
<string>1.0.0</string>
|
|
27
|
+
<key>CFBundleSignature</key>
|
|
28
|
+
<string>????</string>
|
|
29
|
+
<key>CFBundleURLTypes</key>
|
|
30
|
+
<array>
|
|
31
|
+
<dict>
|
|
32
|
+
<key>CFBundleURLSchemes</key>
|
|
33
|
+
<array>
|
|
34
|
+
<string>com.club.yakka</string>
|
|
35
|
+
</array>
|
|
36
|
+
</dict>
|
|
37
|
+
</array>
|
|
38
|
+
<key>CFBundleVersion</key>
|
|
39
|
+
<string>1</string>
|
|
40
|
+
<key>LSMinimumSystemVersion</key>
|
|
41
|
+
<string>12.0</string>
|
|
42
|
+
<key>LSRequiresIPhoneOS</key>
|
|
43
|
+
<true/>
|
|
44
|
+
<key>NSAppTransportSecurity</key>
|
|
45
|
+
<dict>
|
|
46
|
+
<key>NSAllowsArbitraryLoads</key>
|
|
47
|
+
<false/>
|
|
48
|
+
<key>NSAllowsLocalNetworking</key>
|
|
49
|
+
<true/>
|
|
50
|
+
</dict>
|
|
51
|
+
<key>NSCameraUsageDescription</key>
|
|
52
|
+
<string>This app needs access to camera to take photos.</string>
|
|
53
|
+
<key>NSMicrophoneUsageDescription</key>
|
|
54
|
+
<string>Allow Club Yakka to access your microphone</string>
|
|
55
|
+
<key>NSPhotoLibraryUsageDescription</key>
|
|
56
|
+
<string>This app needs access to photo library to select images.</string>
|
|
57
|
+
<key>RCTNewArchEnabled</key>
|
|
58
|
+
<true/>
|
|
59
|
+
<key>UIAppFonts</key>
|
|
60
|
+
<array>
|
|
61
|
+
<string>Outfit-Bold.ttf</string>
|
|
62
|
+
<string>Outfit-Light.ttf</string>
|
|
63
|
+
<string>Outfit-Medium.ttf</string>
|
|
64
|
+
<string>Outfit-Regular.ttf</string>
|
|
65
|
+
<string>Outfit-SemiBold.ttf</string>
|
|
66
|
+
</array>
|
|
67
|
+
<key>UIBackgroundModes</key>
|
|
68
|
+
<array>
|
|
69
|
+
<string>remote-notification</string>
|
|
70
|
+
<string>fetch</string>
|
|
71
|
+
<string>audio</string>
|
|
72
|
+
<string>processing</string>
|
|
73
|
+
</array>
|
|
74
|
+
<key>UILaunchStoryboardName</key>
|
|
75
|
+
<string>SplashScreen</string>
|
|
76
|
+
<key>UIRequiredDeviceCapabilities</key>
|
|
77
|
+
<array>
|
|
78
|
+
<string>arm64</string>
|
|
79
|
+
</array>
|
|
80
|
+
<key>UIRequiresFullScreen</key>
|
|
81
|
+
<false/>
|
|
82
|
+
<key>UIStatusBarStyle</key>
|
|
83
|
+
<string>UIStatusBarStyleDefault</string>
|
|
84
|
+
<key>UISupportedInterfaceOrientations</key>
|
|
85
|
+
<array>
|
|
86
|
+
<string>UIInterfaceOrientationPortrait</string>
|
|
87
|
+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
88
|
+
</array>
|
|
89
|
+
<key>UISupportedInterfaceOrientations~ipad</key>
|
|
90
|
+
<array>
|
|
91
|
+
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
92
|
+
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
93
|
+
<string>UIInterfaceOrientationPortrait</string>
|
|
94
|
+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
95
|
+
</array>
|
|
96
|
+
<key>UIUserInterfaceStyle</key>
|
|
97
|
+
<string>Light</string>
|
|
98
|
+
<key>UIViewControllerBasedStatusBarAppearance</key>
|
|
99
|
+
<false/>
|
|
100
|
+
</dict>
|
|
101
|
+
</plist>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>NSPrivacyAccessedAPITypes</key>
|
|
6
|
+
<array>
|
|
7
|
+
<dict>
|
|
8
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
9
|
+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
|
10
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
11
|
+
<array>
|
|
12
|
+
<string>CA92.1</string>
|
|
13
|
+
<string>1C8F.1</string>
|
|
14
|
+
<string>C56D.1</string>
|
|
15
|
+
</array>
|
|
16
|
+
</dict>
|
|
17
|
+
<dict>
|
|
18
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
19
|
+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
|
|
20
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
21
|
+
<array>
|
|
22
|
+
<string>0A2A.1</string>
|
|
23
|
+
<string>3B52.1</string>
|
|
24
|
+
<string>C617.1</string>
|
|
25
|
+
</array>
|
|
26
|
+
</dict>
|
|
27
|
+
<dict>
|
|
28
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
29
|
+
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
|
|
30
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
31
|
+
<array>
|
|
32
|
+
<string>E174.1</string>
|
|
33
|
+
<string>85F4.1</string>
|
|
34
|
+
</array>
|
|
35
|
+
</dict>
|
|
36
|
+
<dict>
|
|
37
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
38
|
+
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
|
|
39
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
40
|
+
<array>
|
|
41
|
+
<string>35F9.1</string>
|
|
42
|
+
</array>
|
|
43
|
+
</dict>
|
|
44
|
+
</array>
|
|
45
|
+
<key>NSPrivacyCollectedDataTypes</key>
|
|
46
|
+
<array/>
|
|
47
|
+
<key>NSPrivacyTracking</key>
|
|
48
|
+
<false/>
|
|
49
|
+
</dict>
|
|
50
|
+
</plist>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="24093.7" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="EXPO-VIEWCONTROLLER-1">
|
|
3
|
+
<device id="retina6_12" orientation="portrait" appearance="light"/>
|
|
4
|
+
<dependencies>
|
|
5
|
+
<deployment identifier="iOS"/>
|
|
6
|
+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="24053.1"/>
|
|
7
|
+
<capability name="Named colors" minToolsVersion="9.0"/>
|
|
8
|
+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
|
9
|
+
<capability name="System colors in document resources" minToolsVersion="11.0"/>
|
|
10
|
+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
|
11
|
+
</dependencies>
|
|
12
|
+
<scenes>
|
|
13
|
+
<scene sceneID="EXPO-SCENE-1">
|
|
14
|
+
<objects>
|
|
15
|
+
<viewController storyboardIdentifier="SplashScreenViewController" id="EXPO-VIEWCONTROLLER-1" sceneMemberID="viewController">
|
|
16
|
+
<view key="view" userInteractionEnabled="NO" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="EXPO-ContainerView" userLabel="ContainerView">
|
|
17
|
+
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
|
|
18
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
|
19
|
+
<subviews>
|
|
20
|
+
<imageView id="EXPO-SplashScreen" userLabel="SplashScreenLegacy" image="SplashScreenLegacy" contentMode="scaleAspectFit" clipsSubviews="true" userInteractionEnabled="false" translatesAutoresizingMaskIntoConstraints="false">
|
|
21
|
+
<rect key="frame" x="0" y="0" width="414" height="736"/>
|
|
22
|
+
</imageView>
|
|
23
|
+
</subviews>
|
|
24
|
+
<viewLayoutGuide key="safeArea" id="Rmq-lb-GrQ"/>
|
|
25
|
+
<constraints>
|
|
26
|
+
<constraint firstItem="EXPO-SplashScreen" firstAttribute="top" secondItem="EXPO-ContainerView" secondAttribute="top" id="83fcb9b545b870ba44c24f0feeb116490c499c52"/>
|
|
27
|
+
<constraint firstItem="EXPO-SplashScreen" firstAttribute="leading" secondItem="EXPO-ContainerView" secondAttribute="leading" id="61d16215e44b98e39d0a2c74fdbfaaa22601b12c"/>
|
|
28
|
+
<constraint firstItem="EXPO-SplashScreen" firstAttribute="trailing" secondItem="EXPO-ContainerView" secondAttribute="trailing" id="f934da460e9ab5acae3ad9987d5b676a108796c1"/>
|
|
29
|
+
<constraint firstItem="EXPO-SplashScreen" firstAttribute="bottom" secondItem="EXPO-ContainerView" secondAttribute="bottom" id="d6a0be88096b36fb132659aa90203d39139deda9"/>
|
|
30
|
+
</constraints>
|
|
31
|
+
<color key="backgroundColor" name="SplashScreenBackground"/>
|
|
32
|
+
</view>
|
|
33
|
+
</viewController>
|
|
34
|
+
<placeholder placeholderIdentifier="IBFirstResponder" id="EXPO-PLACEHOLDER-1" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
|
35
|
+
</objects>
|
|
36
|
+
<point key="canvasLocation" x="0.0" y="0.0"/>
|
|
37
|
+
</scene>
|
|
38
|
+
</scenes>
|
|
39
|
+
<resources>
|
|
40
|
+
<image name="SplashScreenLegacy" width="414" height="736"/>
|
|
41
|
+
<systemColor name="systemBackgroundColor">
|
|
42
|
+
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
43
|
+
</systemColor>
|
|
44
|
+
<namedColor name="SplashScreenBackground">
|
|
45
|
+
<color alpha="1.000" blue="1.00000000000000" green="1.00000000000000" red="1.00000000000000" customColorSpace="sRGB" colorSpace="custom"/>
|
|
46
|
+
</namedColor>
|
|
47
|
+
</resources>
|
|
48
|
+
</document>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>EXUpdatesCheckOnLaunch</key>
|
|
6
|
+
<string>ALWAYS</string>
|
|
7
|
+
<key>EXUpdatesEnabled</key>
|
|
8
|
+
<false/>
|
|
9
|
+
<key>EXUpdatesLaunchWaitMs</key>
|
|
10
|
+
<integer>0</integer>
|
|
11
|
+
</dict>
|
|
12
|
+
</plist>
|