fix: build
Deskripsi: - update build No Issues'
This commit is contained in:
6
app.json
6
app.json
@@ -40,6 +40,12 @@
|
|||||||
],
|
],
|
||||||
"experiments": {
|
"experiments": {
|
||||||
"typedRoutes": true
|
"typedRoutes": true
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"router": {},
|
||||||
|
"eas": {
|
||||||
|
"projectId": "cfe34fb8-da8c-4004-b5c6-29d07df75cf2"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
21
eas.json
Normal file
21
eas.json
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"cli": {
|
||||||
|
"version": ">= 16.10.0",
|
||||||
|
"appVersionSource": "remote"
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"development": {
|
||||||
|
"developmentClient": true,
|
||||||
|
"distribution": "internal"
|
||||||
|
},
|
||||||
|
"preview": {
|
||||||
|
"distribution": "internal"
|
||||||
|
},
|
||||||
|
"production": {
|
||||||
|
"autoIncrement": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"submit": {
|
||||||
|
"production": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -21,6 +21,15 @@ export const apiGetProfile = async ({ id }: { id: string }) => {
|
|||||||
return response.data;
|
return response.data;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const apiEditProfile = async (data: FormData) => {
|
||||||
|
const response = await api.put(`/mobile/user/profile`, data, {
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'multipart/form-data',
|
||||||
|
},
|
||||||
|
})
|
||||||
|
return response.data;
|
||||||
|
};
|
||||||
|
|
||||||
export const apiGetSearch = async ({ text, user }: { text: string, user: string }) => {
|
export const apiGetSearch = async ({ text, user }: { text: string, user: string }) => {
|
||||||
const response = await api.get(`mobile/home/search?search=${text}&user=${user}`);
|
const response = await api.get(`mobile/home/search?search=${text}&user=${user}`);
|
||||||
return response.data;
|
return response.data;
|
||||||
|
|||||||
@@ -39,7 +39,6 @@
|
|||||||
"expo-linear-gradient": "~14.1.4",
|
"expo-linear-gradient": "~14.1.4",
|
||||||
"expo-linking": "~7.1.5",
|
"expo-linking": "~7.1.5",
|
||||||
"expo-media-library": "~17.1.6",
|
"expo-media-library": "~17.1.6",
|
||||||
"expo-permissions": "^14.4.0",
|
|
||||||
"expo-router": "~5.0.7",
|
"expo-router": "~5.0.7",
|
||||||
"expo-sharing": "^13.1.5",
|
"expo-sharing": "^13.1.5",
|
||||||
"expo-splash-screen": "~0.30.8",
|
"expo-splash-screen": "~0.30.8",
|
||||||
|
|||||||
Reference in New Issue
Block a user