-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fix config for android local build #936
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
f8399ad
Fix config for android local build
Tadjaur 6810ea7
use secret instead of vars in private like variable
Tadjaur 7b9886e
update deps
Tadjaur ff336df
update vars to secrets in expo.build action
Tadjaur 7b67af7
🐛 fix upload issue
andrew-bierman d6f9c01
🐛 fix ios ?
andrew-bierman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,9 @@ | ||
—————————Client Env ——————————— | ||
MONGODB_URI="Your mongodb URI" | ||
CLIENT_URL="Your client url" | ||
—————————EXPO CLIENT ENV ——————————— | ||
NODE_ENV='development' | ||
API_URL='Your api url' | ||
NPS_API = "Your api key" | ||
GEOAPIFY_KEY = "Your api key" | ||
GOOGLE_PLACES_API_KEY = 'Your api key' | ||
MAPBOX_API_KEY = "Your api key, starts with pk..." | ||
OPENWEATHER_KEY = "Your api key" | ||
X_RAPIDAPI_KEY = "Your api key" | ||
MAPBOX_ACCESS_TOKEN = "Your api key, starts with pk..." | ||
EXPO_PUBLIC_CLIENT_URL="Your client url" | ||
EXPO_PUBLIC_API_URL="Your api url" | ||
EXPO_PUBLIC_MAPBOX_ACCESS_TOKEN="Your api key, starts with pk..." | ||
EXPO_PUBLIC_ANDROID_CLIENT_ID="962352557394-........................apps.googleusercontent.com" | ||
EXPO_PUBLIC_IOS_CLIENT_ID="962352557394-........................apps.googleusercontent.com" | ||
MAPBOX_DOWNLOADS_TOKEN="Your api key, starts with sk..." | ||
WEB_CLIENT_ID="962352557394-..................apps.googleusercontent.com" | ||
ANDROID_CLIENT_ID="962352557394-........................apps.googleusercontent.com" | ||
IOS_CLIENT_ID="962352557394-........................apps.googleusercontent.com" | ||
FIREBASE_API_KEY = 'Your api key' | ||
FIREBASE_AUTH_DOMAIN = "Your auth domain" | ||
FIREBASE_PROJECT_ID = "Your firebase project id" | ||
FIREBASE_STORAGE_BUCKET = "Your firebase_storage_key_link" | ||
FIREBASE_MESSAGING_SENDER_ID = "Your firebase_messaging_sender_ID" | ||
FIREBASE_APP_ID = "Your firebase app id" | ||
FIREBASE_MEASUREMENT_ID = "Your firebase_measurement_id" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
—————————NEXT CLIENT ENV——————————— | ||
NODE_ENV='development' | ||
NEXT_PUBLIC_APP='next' | ||
NEXT_PUBLIC_CLIENT_URL="Your client url" | ||
NEXT_PUBLIC_API_URL="Your api url" | ||
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN="Your api key, starts with pk..." | ||
NEXT_PUBLIC_WEB_CLIENT_ID="962352557394-..................apps.googleusercontent.com" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
—————————VITE CLIENT ENV——————————— | ||
NODE_ENV='development' | ||
VITE_PUBLIC_APP='vite' | ||
VITE_PUBLIC_CLIENT_URL="Your client url" | ||
VITE_PUBLIC_API_URL="Your api url" | ||
VITE_PUBLIC_MAPBOX_ACCESS_TOKEN="Your api key, starts with pk..." | ||
VITE_PUBLIC_WEB_CLIENT_ID="962352557394-..................apps.googleusercontent.com" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
// export const api = "http://add your ip address"; | ||
|
||
import { API_URL } from '@packrat/config'; | ||
|
||
/** | ||
* The api url. | ||
* format: "{scheme}://{serverhost}:{port}/api" | ||
* e.g: "http://localhost:4200/api" | ||
*/ | ||
export const api = API_URL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// DUMMY FILE. This is not actually used in the project. It is to fix Expo's build process. | ||
|
||
export const viteSource = process.env, | ||
export const viteSource = {}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
import { LinkComponent, Router, CreateParam } from './model'; | ||
export declare function Link( | ||
props: Parameters<LinkComponent>, | ||
): ReturnType<LinkComponent>; | ||
export declare function Link(props: Parameters<LinkComponent>): ReturnType<LinkComponent>; | ||
export declare const createParam: CreateParam; | ||
export declare function useRouter(): Router; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,27 @@ | ||
import { FC } from 'react'; | ||
import { LinkProps } from 'solito/link'; | ||
export interface CreateParamOptions { | ||
initial?: string; | ||
parse?: (param: string) => unknown; | ||
stringify?: (param: unknown) => string; | ||
initial?: string; | ||
parse?: (param: string) => unknown; | ||
stringify?: (param: unknown) => string; | ||
} | ||
export interface Router { | ||
push: (url: URL) => void; | ||
replace: (url: URL) => void; | ||
back: () => void; | ||
push: (url: URL) => void; | ||
replace: (url: URL) => void; | ||
back: () => void; | ||
} | ||
export type LinkComponent = FC<LinkProps>; | ||
export type URL = | ||
| string | ||
| { | ||
pathname?: string; | ||
query?: Record<string, any>; | ||
state?: Record<string, any>; | ||
hash?: string; | ||
as?: string | object; | ||
}; | ||
export type URL = string | { | ||
pathname?: string; | ||
query?: Record<string, any>; | ||
state?: Record<string, any>; | ||
hash?: string; | ||
as?: string | object; | ||
}; | ||
export type CreateParam = <T>() => { | ||
useParam: ( | ||
key: keyof T, | ||
options?: CreateParamOptions, | ||
) => [value: any, setValue: (value: any) => void]; | ||
useParams: (key: keyof T) => { | ||
params: T; | ||
setParams: (value: any) => void; | ||
}; | ||
useParam: (key: keyof T, options?: CreateParamOptions) => [value: any, setValue: (value: any) => void]; | ||
useParams: (key: keyof T) => { | ||
params: T; | ||
setParams: (value: any) => void; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only environment variables in use are defined here.