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

feat: change application name to Graasp #200

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: graasp/graasp-mobile-builder
repository: graasp/graasp-mobile
event-type: build-new-version
client-payload: |-
{
Expand Down
207 changes: 99 additions & 108 deletions CHANGELOG.md

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# Graasp Mobile Builder
# Graasp Mobile

<a href="https://gitlocalize.com/repo/9168?utm_source=badge"> <img src="https://gitlocalize.com/repo/9168/whole_project/badge.svg" /> </a>

This repository hosts the source code of the mobile app for the [Graasp Learning Experience Platform](graasp.org).

> [!WARNING]
> The project name is _Graasp Mobile_, but the slug is _graasp-mobile-builder_.

## Technology stack

This project is written in Typescript and uses Expo to create a React Native cross-platform mobile application.
Expand Down
17 changes: 5 additions & 12 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"expo": {
"name": "Graasp Builder",
"name": "Graasp",
"slug": "graasp-mobile-builder",
"owner": "graasp",
"version": "1.1.14",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "graasp-mobile-builder",
"scheme": "graasp-mobile",
"userInterfaceStyle": "automatic",
"splash": {
"image": "./assets/images/splash.png",
Expand All @@ -17,16 +17,12 @@
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "org.graasp.mobile",
"buildNumber": "1.1.14",
"associatedDomains": [
"applinks:mobile.graasp.org"
],
"associatedDomains": ["applinks:mobile.graasp.org"],
"infoPlist": {
"NSCameraUsageDescription": "Allow access to the camera to take and upload photos to Graasp. These photos can also be used to update your profile picture.",
"NSPhotoLibraryUsageDescription": "Allow access to photos in order to upload photos from your library to Graasp. These photos can be then used within your account on Graasp."
Expand All @@ -53,10 +49,7 @@
"pathPrefix": "/auth"
}
],
"category": [
"BROWSABLE",
"DEFAULT"
]
"category": ["BROWSABLE", "DEFAULT"]
}
]
},
Expand Down
4 changes: 1 addition & 3 deletions e2e/utils/openApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ async function openAppForDebugBuild(platform: string, launchArgs: LaunchArgs) {
}

const getDeepLinkUrl = (url: string) =>
`exp+graasp-mobile-builder://expo-development-client/?url=${encodeURIComponent(
url,
)}`;
`exp+graasp-mobile://expo-development-client/?url=${encodeURIComponent(url)}`;

const getDevLauncherPackagerUrl = (platform: string) =>
`http://localhost:8081?platform=${platform}&dev=true&minify=false&disableOnboarding=1`;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "graasp-mobile-builder",
"name": "graasp-mobile",
"version": "1.1.14",
"main": "node_modules/expo/AppEntry.js",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/config/constants/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const LOGIN_URI = {
PATH: 'auth',
},
APP_SCHEME: {
SCHEME: 'graasp-mobile-builder',
SCHEME: 'graasp-mobile',
HOSTNAME: 'auth',
},
};
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9120,9 +9120,9 @@ __metadata:
languageName: node
linkType: hard

"graasp-mobile-builder@workspace:.":
"graasp-mobile@workspace:.":
version: 0.0.0-use.local
resolution: "graasp-mobile-builder@workspace:."
resolution: "graasp-mobile@workspace:."
dependencies:
"@babel/core": "npm:^7.23.2"
"@babel/plugin-proposal-nullish-coalescing-operator": "npm:^7.18.6"
Expand Down