@umang-thakkar/base-template 1.0.0
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/LICENSE +21 -0
- package/README.md +150 -0
- package/package.json +27 -0
- package/template/App.tsx +41 -0
- package/template/Gemfile +16 -0
- package/template/Gemfile.lock +124 -0
- package/template/Main.tsx +14 -0
- package/template/README.md +97 -0
- package/template/__tests__/App.test.tsx +13 -0
- package/template/_gitignore +75 -0
- package/template/android/app/build.gradle +119 -0
- package/template/android/app/debug.keystore +0 -0
- package/template/android/app/proguard-rules.pro +10 -0
- package/template/android/app/src/debug/AndroidManifest.xml +9 -0
- package/template/android/app/src/main/AndroidManifest.xml +26 -0
- package/template/android/app/src/main/java/com/basetemplate/MainActivity.kt +22 -0
- package/template/android/app/src/main/java/com/basetemplate/MainApplication.kt +38 -0
- package/template/android/app/src/main/res/drawable/rn_edit_text_material.xml +37 -0
- package/template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/template/android/app/src/main/res/values/strings.xml +3 -0
- package/template/android/app/src/main/res/values/styles.xml +9 -0
- package/template/android/build.gradle +21 -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 +44 -0
- package/template/android/gradlew +251 -0
- package/template/android/gradlew.bat +99 -0
- package/template/android/settings.gradle +6 -0
- package/template/app.json +4 -0
- package/template/babel.config.js +4 -0
- package/template/constants/AppConstants.tsx +1 -0
- package/template/constants/StoragePreferences.ts +94 -0
- package/template/index.js +9 -0
- package/template/ios/.xcode.env +11 -0
- package/template/ios/.xcode.env.local +1 -0
- package/template/ios/BaseTemplate/AppDelegate.swift +48 -0
- package/template/ios/BaseTemplate/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
- package/template/ios/BaseTemplate/Images.xcassets/Contents.json +6 -0
- package/template/ios/BaseTemplate/Info.plist +53 -0
- package/template/ios/BaseTemplate/LaunchScreen.storyboard +47 -0
- package/template/ios/BaseTemplate/PrivacyInfo.xcprivacy +37 -0
- package/template/ios/BaseTemplate.xcodeproj/project.pbxproj +478 -0
- package/template/ios/BaseTemplate.xcodeproj/xcshareddata/xcschemes/BaseTemplate.xcscheme +88 -0
- package/template/ios/BaseTemplate.xcworkspace/contents.xcworkspacedata +10 -0
- package/template/ios/Podfile +35 -0
- package/template/jest.config.js +3 -0
- package/template/metro.config.js +11 -0
- package/template/package.json +54 -0
- package/template/src/api/AxiosActions.ts +37 -0
- package/template/src/api/AxiosClient.ts +17 -0
- package/template/src/api/queries.ts +22 -0
- package/template/src/api/service.ts +9 -0
- package/template/src/helper/colors.ts +24 -0
- package/template/src/helper/common-functions.ts +24 -0
- package/template/src/helper/font-family.ts +7 -0
- package/template/src/helper/navigation-service.ts +69 -0
- package/template/src/helper/typography.ts +91 -0
- package/template/src/helper/utility-functions.ts +85 -0
- package/template/src/navigation/AppStack.tsx +32 -0
- package/template/src/navigation/AppStackParams.ts +4 -0
- package/template/src/navigation/screens.ts +14 -0
- package/template/src/redux/action.ts +0 -0
- package/template/src/redux/slice.ts +21 -0
- package/template/src/redux/store.ts +16 -0
- package/template/src/redux/types.d.ts +1 -0
- package/template/src/screens/HomeScreen.tsx +21 -0
- package/template/src/screens/SplashScreen.tsx +18 -0
- package/template/tsconfig.json +5 -0
- package/template/yarn.lock +6935 -0
- package/template.config.js +12 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
@REM Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
+
@REM
|
|
3
|
+
@REM This source code is licensed under the MIT license found in the
|
|
4
|
+
@REM LICENSE file in the root directory of this source tree.
|
|
5
|
+
|
|
6
|
+
@rem
|
|
7
|
+
@rem Copyright 2015 the original author or authors.
|
|
8
|
+
@rem
|
|
9
|
+
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
@rem you may not use this file except in compliance with the License.
|
|
11
|
+
@rem You may obtain a copy of the License at
|
|
12
|
+
@rem
|
|
13
|
+
@rem https://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
@rem
|
|
15
|
+
@rem Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
@rem See the License for the specific language governing permissions and
|
|
19
|
+
@rem limitations under the License.
|
|
20
|
+
@rem
|
|
21
|
+
@rem SPDX-License-Identifier: Apache-2.0
|
|
22
|
+
@rem
|
|
23
|
+
|
|
24
|
+
@if "%DEBUG%"=="" @echo off
|
|
25
|
+
@rem ##########################################################################
|
|
26
|
+
@rem
|
|
27
|
+
@rem Gradle startup script for Windows
|
|
28
|
+
@rem
|
|
29
|
+
@rem ##########################################################################
|
|
30
|
+
|
|
31
|
+
@rem Set local scope for the variables with windows NT shell
|
|
32
|
+
if "%OS%"=="Windows_NT" setlocal
|
|
33
|
+
|
|
34
|
+
set DIRNAME=%~dp0
|
|
35
|
+
if "%DIRNAME%"=="" set DIRNAME=.
|
|
36
|
+
@rem This is normally unused
|
|
37
|
+
set APP_BASE_NAME=%~n0
|
|
38
|
+
set APP_HOME=%DIRNAME%
|
|
39
|
+
|
|
40
|
+
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
|
41
|
+
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
|
42
|
+
|
|
43
|
+
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
44
|
+
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
|
45
|
+
|
|
46
|
+
@rem Find java.exe
|
|
47
|
+
if defined JAVA_HOME goto findJavaFromJavaHome
|
|
48
|
+
|
|
49
|
+
set JAVA_EXE=java.exe
|
|
50
|
+
%JAVA_EXE% -version >NUL 2>&1
|
|
51
|
+
if %ERRORLEVEL% equ 0 goto execute
|
|
52
|
+
|
|
53
|
+
echo. 1>&2
|
|
54
|
+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
|
|
55
|
+
echo. 1>&2
|
|
56
|
+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
|
57
|
+
echo location of your Java installation. 1>&2
|
|
58
|
+
|
|
59
|
+
goto fail
|
|
60
|
+
|
|
61
|
+
:findJavaFromJavaHome
|
|
62
|
+
set JAVA_HOME=%JAVA_HOME:"=%
|
|
63
|
+
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
64
|
+
|
|
65
|
+
if exist "%JAVA_EXE%" goto execute
|
|
66
|
+
|
|
67
|
+
echo. 1>&2
|
|
68
|
+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
|
|
69
|
+
echo. 1>&2
|
|
70
|
+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
|
71
|
+
echo location of your Java installation. 1>&2
|
|
72
|
+
|
|
73
|
+
goto fail
|
|
74
|
+
|
|
75
|
+
:execute
|
|
76
|
+
@rem Setup the command line
|
|
77
|
+
|
|
78
|
+
set CLASSPATH=
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
@rem Execute Gradle
|
|
82
|
+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
|
83
|
+
|
|
84
|
+
:end
|
|
85
|
+
@rem End local scope for the variables with windows NT shell
|
|
86
|
+
if %ERRORLEVEL% equ 0 goto mainEnd
|
|
87
|
+
|
|
88
|
+
:fail
|
|
89
|
+
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
|
90
|
+
rem the _cmd.exe /c_ return code!
|
|
91
|
+
set EXIT_CODE=%ERRORLEVEL%
|
|
92
|
+
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
|
93
|
+
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
|
94
|
+
exit /b %EXIT_CODE%
|
|
95
|
+
|
|
96
|
+
:mainEnd
|
|
97
|
+
if "%OS%"=="Windows_NT" endlocal
|
|
98
|
+
|
|
99
|
+
:omega
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
|
|
2
|
+
plugins { id("com.facebook.react.settings") }
|
|
3
|
+
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
|
|
4
|
+
rootProject.name = 'BaseTemplate'
|
|
5
|
+
include ':app'
|
|
6
|
+
includeBuild('../node_modules/@react-native/gradle-plugin')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const API_BASE_URL = 'https://jsonplaceholder.typicode.com';
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import AsyncStorage from "@react-native-async-storage/async-storage";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Retrieves data from AsyncStorage with optional JSON parsing.
|
|
5
|
+
* @param key - The key of the item to retrieve.
|
|
6
|
+
* @param parseJSON - Whether to parse the value as JSON (default: false).
|
|
7
|
+
* @returns The stored value or null if not found.
|
|
8
|
+
*/
|
|
9
|
+
export const getData = async <T = string>(
|
|
10
|
+
key: string,
|
|
11
|
+
parseJSON: boolean = false
|
|
12
|
+
): Promise<T | null> => {
|
|
13
|
+
try {
|
|
14
|
+
const value = await AsyncStorage.getItem(key);
|
|
15
|
+
|
|
16
|
+
if (value === null) return null;
|
|
17
|
+
|
|
18
|
+
if (parseJSON) {
|
|
19
|
+
try {
|
|
20
|
+
return JSON.parse(value) as T;
|
|
21
|
+
} catch (parseError) {
|
|
22
|
+
console.warn(`Failed to parse JSON for key "${key}":`, parseError);
|
|
23
|
+
return value as T;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
return value as T;
|
|
28
|
+
} catch (error) {
|
|
29
|
+
console.error(`Error retrieving data for key "${key}":`, error);
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Stores data in AsyncStorage with automatic JSON stringification for objects.
|
|
36
|
+
* @param key - The key to store the item under.
|
|
37
|
+
* @param value - The value to store.
|
|
38
|
+
* @returns True if successful, false otherwise.
|
|
39
|
+
*/
|
|
40
|
+
export const setData = async<T>(key: string, value: T) : Promise<boolean> => {
|
|
41
|
+
try {
|
|
42
|
+
const stringValue =
|
|
43
|
+
typeof value === "string" ? value : JSON.stringify(value);
|
|
44
|
+
await AsyncStorage.setItem(key, stringValue);
|
|
45
|
+
return true;
|
|
46
|
+
} catch (error) {
|
|
47
|
+
console.error(`Error storing data for key "${key}":`, error);
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Removes a single item from AsyncStorage.
|
|
54
|
+
* @param key - The key of the item to remove.
|
|
55
|
+
* @returns True if successful, false otherwise.
|
|
56
|
+
*/
|
|
57
|
+
export const removeData = async (key: string): Promise<boolean> => {
|
|
58
|
+
try {
|
|
59
|
+
await AsyncStorage.removeItem(key);
|
|
60
|
+
return true;
|
|
61
|
+
} catch (error) {
|
|
62
|
+
console.error(`Error removing data for key "${key}":`, error);
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Clears all data from AsyncStorage.
|
|
69
|
+
* @returns True if successful, false otherwise.
|
|
70
|
+
*/
|
|
71
|
+
export const removeAll = async (): Promise<boolean> => {
|
|
72
|
+
try {
|
|
73
|
+
await AsyncStorage.clear();
|
|
74
|
+
return true;
|
|
75
|
+
} catch (error) {
|
|
76
|
+
console.error("Error clearing all storage:", error);
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Checks if a key exists in AsyncStorage.
|
|
83
|
+
* @param key - The key to check.
|
|
84
|
+
* @returns True if key exists, false otherwise.
|
|
85
|
+
*/
|
|
86
|
+
export const hasKey = async (key: string): Promise<boolean> => {
|
|
87
|
+
try {
|
|
88
|
+
const value = await AsyncStorage.getItem(key);
|
|
89
|
+
return value !== null;
|
|
90
|
+
} catch (error) {
|
|
91
|
+
console.error(`Error checking key "${key}":`, error);
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
};
|
|
@@ -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 @@
|
|
|
1
|
+
export NODE_BINARY=/opt/homebrew/Cellar/node/24.1.0/bin/node
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import UIKit
|
|
2
|
+
import React
|
|
3
|
+
import React_RCTAppDelegate
|
|
4
|
+
import ReactAppDependencyProvider
|
|
5
|
+
|
|
6
|
+
@main
|
|
7
|
+
class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
8
|
+
var window: UIWindow?
|
|
9
|
+
|
|
10
|
+
var reactNativeDelegate: ReactNativeDelegate?
|
|
11
|
+
var reactNativeFactory: RCTReactNativeFactory?
|
|
12
|
+
|
|
13
|
+
func application(
|
|
14
|
+
_ application: UIApplication,
|
|
15
|
+
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
|
|
16
|
+
) -> Bool {
|
|
17
|
+
let delegate = ReactNativeDelegate()
|
|
18
|
+
let factory = RCTReactNativeFactory(delegate: delegate)
|
|
19
|
+
delegate.dependencyProvider = RCTAppDependencyProvider()
|
|
20
|
+
|
|
21
|
+
reactNativeDelegate = delegate
|
|
22
|
+
reactNativeFactory = factory
|
|
23
|
+
|
|
24
|
+
window = UIWindow(frame: UIScreen.main.bounds)
|
|
25
|
+
|
|
26
|
+
factory.startReactNative(
|
|
27
|
+
withModuleName: "BaseTemplate",
|
|
28
|
+
in: window,
|
|
29
|
+
launchOptions: launchOptions
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
return true
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
class ReactNativeDelegate: RCTDefaultReactNativeFactoryDelegate {
|
|
37
|
+
override func sourceURL(for bridge: RCTBridge) -> URL? {
|
|
38
|
+
self.bundleURL()
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
override func bundleURL() -> URL? {
|
|
42
|
+
#if DEBUG
|
|
43
|
+
RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
|
|
44
|
+
#else
|
|
45
|
+
Bundle.main.url(forResource: "main", withExtension: "jsbundle")
|
|
46
|
+
#endif
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"images" : [
|
|
3
|
+
{
|
|
4
|
+
"idiom" : "iphone",
|
|
5
|
+
"scale" : "2x",
|
|
6
|
+
"size" : "20x20"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"idiom" : "iphone",
|
|
10
|
+
"scale" : "3x",
|
|
11
|
+
"size" : "20x20"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"idiom" : "iphone",
|
|
15
|
+
"scale" : "2x",
|
|
16
|
+
"size" : "29x29"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"idiom" : "iphone",
|
|
20
|
+
"scale" : "3x",
|
|
21
|
+
"size" : "29x29"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"idiom" : "iphone",
|
|
25
|
+
"scale" : "2x",
|
|
26
|
+
"size" : "40x40"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"idiom" : "iphone",
|
|
30
|
+
"scale" : "3x",
|
|
31
|
+
"size" : "40x40"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"idiom" : "iphone",
|
|
35
|
+
"scale" : "2x",
|
|
36
|
+
"size" : "60x60"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"idiom" : "iphone",
|
|
40
|
+
"scale" : "3x",
|
|
41
|
+
"size" : "60x60"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"idiom" : "ios-marketing",
|
|
45
|
+
"scale" : "1x",
|
|
46
|
+
"size" : "1024x1024"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"info" : {
|
|
50
|
+
"author" : "xcode",
|
|
51
|
+
"version" : 1
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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>CFBundleDevelopmentRegion</key>
|
|
6
|
+
<string>en</string>
|
|
7
|
+
<key>CFBundleDisplayName</key>
|
|
8
|
+
<string>BaseTemplate</string>
|
|
9
|
+
<key>CFBundleExecutable</key>
|
|
10
|
+
<string>$(EXECUTABLE_NAME)</string>
|
|
11
|
+
<key>CFBundleIdentifier</key>
|
|
12
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
13
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
14
|
+
<string>6.0</string>
|
|
15
|
+
<key>CFBundleName</key>
|
|
16
|
+
<string>$(PRODUCT_NAME)</string>
|
|
17
|
+
<key>CFBundlePackageType</key>
|
|
18
|
+
<string>APPL</string>
|
|
19
|
+
<key>CFBundleShortVersionString</key>
|
|
20
|
+
<string>$(MARKETING_VERSION)</string>
|
|
21
|
+
<key>CFBundleSignature</key>
|
|
22
|
+
<string>????</string>
|
|
23
|
+
<key>CFBundleVersion</key>
|
|
24
|
+
<string>$(CURRENT_PROJECT_VERSION)</string>
|
|
25
|
+
<key>LSRequiresIPhoneOS</key>
|
|
26
|
+
<true/>
|
|
27
|
+
<key>NSAppTransportSecurity</key>
|
|
28
|
+
<dict>
|
|
29
|
+
<key>NSAllowsArbitraryLoads</key>
|
|
30
|
+
<false/>
|
|
31
|
+
<key>NSAllowsLocalNetworking</key>
|
|
32
|
+
<true/>
|
|
33
|
+
</dict>
|
|
34
|
+
<key>NSLocationWhenInUseUsageDescription</key>
|
|
35
|
+
<string></string>
|
|
36
|
+
<key>RCTNewArchEnabled</key>
|
|
37
|
+
<false/>
|
|
38
|
+
<key>UILaunchStoryboardName</key>
|
|
39
|
+
<string>LaunchScreen</string>
|
|
40
|
+
<key>UIRequiredDeviceCapabilities</key>
|
|
41
|
+
<array>
|
|
42
|
+
<string>arm64</string>
|
|
43
|
+
</array>
|
|
44
|
+
<key>UISupportedInterfaceOrientations</key>
|
|
45
|
+
<array>
|
|
46
|
+
<string>UIInterfaceOrientationPortrait</string>
|
|
47
|
+
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
48
|
+
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
49
|
+
</array>
|
|
50
|
+
<key>UIViewControllerBasedStatusBarAppearance</key>
|
|
51
|
+
<false/>
|
|
52
|
+
</dict>
|
|
53
|
+
</plist>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
|
3
|
+
<device id="retina4_7" orientation="portrait" appearance="light"/>
|
|
4
|
+
<dependencies>
|
|
5
|
+
<deployment identifier="iOS"/>
|
|
6
|
+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
|
|
7
|
+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
|
8
|
+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
|
9
|
+
</dependencies>
|
|
10
|
+
<scenes>
|
|
11
|
+
<!--View Controller-->
|
|
12
|
+
<scene sceneID="EHf-IW-A2E">
|
|
13
|
+
<objects>
|
|
14
|
+
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
|
|
15
|
+
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
|
|
16
|
+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
|
17
|
+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
18
|
+
<subviews>
|
|
19
|
+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="BaseTemplate" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
|
|
20
|
+
<rect key="frame" x="0.0" y="202" width="375" height="43"/>
|
|
21
|
+
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
|
|
22
|
+
<nil key="highlightedColor"/>
|
|
23
|
+
</label>
|
|
24
|
+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="MN2-I3-ftu">
|
|
25
|
+
<rect key="frame" x="0.0" y="626" width="375" height="21"/>
|
|
26
|
+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
27
|
+
<nil key="highlightedColor"/>
|
|
28
|
+
</label>
|
|
29
|
+
</subviews>
|
|
30
|
+
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
|
31
|
+
<constraints>
|
|
32
|
+
<constraint firstItem="Bcu-3y-fUS" firstAttribute="bottom" secondItem="MN2-I3-ftu" secondAttribute="bottom" constant="20" id="OZV-Vh-mqD"/>
|
|
33
|
+
<constraint firstItem="Bcu-3y-fUS" firstAttribute="centerX" secondItem="GJd-Yh-RWb" secondAttribute="centerX" id="Q3B-4B-g5h"/>
|
|
34
|
+
<constraint firstItem="MN2-I3-ftu" firstAttribute="centerX" secondItem="Bcu-3y-fUS" secondAttribute="centerX" id="akx-eg-2ui"/>
|
|
35
|
+
<constraint firstItem="MN2-I3-ftu" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" id="i1E-0Y-4RG"/>
|
|
36
|
+
<constraint firstItem="GJd-Yh-RWb" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="bottom" multiplier="1/3" constant="1" id="moa-c2-u7t"/>
|
|
37
|
+
<constraint firstItem="GJd-Yh-RWb" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" symbolic="YES" id="x7j-FC-K8j"/>
|
|
38
|
+
</constraints>
|
|
39
|
+
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
|
|
40
|
+
</view>
|
|
41
|
+
</viewController>
|
|
42
|
+
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
|
43
|
+
</objects>
|
|
44
|
+
<point key="canvasLocation" x="52.173913043478265" y="375"/>
|
|
45
|
+
</scene>
|
|
46
|
+
</scenes>
|
|
47
|
+
</document>
|
|
@@ -0,0 +1,37 @@
|
|
|
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>NSPrivacyAccessedAPICategoryFileTimestamp</string>
|
|
10
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
11
|
+
<array>
|
|
12
|
+
<string>C617.1</string>
|
|
13
|
+
</array>
|
|
14
|
+
</dict>
|
|
15
|
+
<dict>
|
|
16
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
17
|
+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
|
18
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
19
|
+
<array>
|
|
20
|
+
<string>CA92.1</string>
|
|
21
|
+
</array>
|
|
22
|
+
</dict>
|
|
23
|
+
<dict>
|
|
24
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
25
|
+
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
|
|
26
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
27
|
+
<array>
|
|
28
|
+
<string>35F9.1</string>
|
|
29
|
+
</array>
|
|
30
|
+
</dict>
|
|
31
|
+
</array>
|
|
32
|
+
<key>NSPrivacyCollectedDataTypes</key>
|
|
33
|
+
<array/>
|
|
34
|
+
<key>NSPrivacyTracking</key>
|
|
35
|
+
<false/>
|
|
36
|
+
</dict>
|
|
37
|
+
</plist>
|