mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
set expediente as default and fix assinar diploma
This commit is contained in:
@@ -0,0 +1,43 @@
|
|||||||
|
# TestFlight Build & Upload Guide (Flutter + iOS)
|
||||||
|
|
||||||
|
Follow these steps to generate and release a TestFlight build.
|
||||||
|
|
||||||
|
## 1. Update App Version
|
||||||
|
|
||||||
|
Edit `pubspec.yaml`:
|
||||||
|
|
||||||
|
version: 1.2.3+45
|
||||||
|
|
||||||
|
- `1.2.3` → visible version
|
||||||
|
- `45` → build number (must increase every release)
|
||||||
|
|
||||||
|
## 2. Install Dependencies
|
||||||
|
|
||||||
|
```bash
|
||||||
|
fvm flutter clean
|
||||||
|
fvm flutter pub get
|
||||||
|
cd ios && pod install && cd ..
|
||||||
|
```
|
||||||
|
|
||||||
|
## 3. Open Project in Xcode
|
||||||
|
|
||||||
|
```bash
|
||||||
|
open ios/Runner.xcworkspace
|
||||||
|
```
|
||||||
|
|
||||||
|
## 5. Archive in Xcode
|
||||||
|
|
||||||
|
1. Product → Destination → Any iOS Device
|
||||||
|
2. Product → Archive
|
||||||
|
|
||||||
|
## 6. Upload to TestFlight
|
||||||
|
|
||||||
|
After archive: - Click _Distribute App_ - Choose _App Store Connect_ →
|
||||||
|
Upload
|
||||||
|
|
||||||
|
## 9. Enable TestFlight Testing
|
||||||
|
|
||||||
|
- Go to https://appstoreconnect.apple.com
|
||||||
|
- Select the app
|
||||||
|
- Open _TestFlight_
|
||||||
|
- Add internal testers or submit for external review
|
||||||
+3
-4
@@ -271,7 +271,7 @@ export class DiplomaAssinarPage implements OnInit {
|
|||||||
|
|
||||||
async AssinarDraft() {
|
async AssinarDraft() {
|
||||||
|
|
||||||
//if (this.asDraft) {
|
if (this.asDraft) {
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: PopupQuestionPage,
|
component: PopupQuestionPage,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
@@ -315,10 +315,9 @@ export class DiplomaAssinarPage implements OnInit {
|
|||||||
});
|
});
|
||||||
|
|
||||||
await modal.present();
|
await modal.present();
|
||||||
//} else {
|
} else {
|
||||||
this.httpErroHandle.validationMessagge("diplomaAsDraft");
|
this.httpErroHandle.validationMessagge("diplomaAsDraft");
|
||||||
//}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async openAddNoteModal(actionName: string) {
|
async openAddNoteModal(actionName: string) {
|
||||||
|
|||||||
@@ -342,8 +342,17 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
checkUser() {
|
checkUser() {
|
||||||
this.selectedElement = 'allProcessesTag';
|
if(SessionStore.user.Profile != 'PR') {
|
||||||
this.showAllProcesses = true;
|
this.selectedElement = 'Correspondence'
|
||||||
|
let navigationExtras: NavigationExtras = { queryParams: { "expedientes": true, } };
|
||||||
|
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
||||||
|
this.showExpedients = true;
|
||||||
|
} else if(SessionStore.user.Profile == 'PR') {
|
||||||
|
this.selectedElement = 'ExpedientesPr'
|
||||||
|
let navigationExtras: NavigationExtras = { queryParams: { "expedientes": true, } };
|
||||||
|
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
||||||
|
this.showExpedientesPr = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hideRefreshButton() {
|
hideRefreshButton() {
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ import { Environment } from './../../app/models/envarioment'
|
|||||||
|
|
||||||
export const DevDev: Environment = {
|
export const DevDev: Environment = {
|
||||||
id:'3',
|
id:'3',
|
||||||
apiURLStage: 'https://gdapi-dev.dyndns.info/stage/api/v2/',
|
apiURLStage: 'https://gdapi-dev.doneit.co.ao/stage/api/v2/',
|
||||||
apiURL: 'https://gdapi-dev.dyndns.info/jwt/api/',
|
apiURL: 'https://gdapi-dev.doneit.co.ao/jwt/api/',
|
||||||
apiPCURL: 'https://gdcmapi-dev.dyndns.info/api/',
|
apiPCURL: 'https://gdapi-dev.doneit.co.ao/api/',
|
||||||
logoLabel: 'Presidente da República',
|
logoLabel: 'Presidente da República',
|
||||||
despachoLabel: 'Presidenciais',
|
despachoLabel: 'Presidenciais',
|
||||||
despachoLabel2: 'Despachos Presidênciais',
|
despachoLabel2: 'Despachos Presidênciais',
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
export let versionData = {
|
export let versionData = {
|
||||||
"shortSHA": "a9cd4843d",
|
"shortSHA": "c14431034",
|
||||||
"SHA": "a9cd4843d53711a2ee60d7d2d49a9632f38ddd39",
|
"SHA": "c14431034c00c209b7d19da993a69539a644f575",
|
||||||
"branch": "developer",
|
"branch": "developer",
|
||||||
"lastCommitAuthor": "'peter.maquiran'",
|
"lastCommitAuthor": "'peter.maquiran'",
|
||||||
"lastCommitTime": "'Fri Oct 17 13:58:05 2025 +0100'",
|
"lastCommitTime": "'Fri Oct 17 16:20:48 2025 +0100'",
|
||||||
"lastCommitMessage": "pedido",
|
"lastCommitMessage": "remove duplicate calls",
|
||||||
"lastCommitNumber": "6153",
|
"lastCommitNumber": "6154",
|
||||||
"changeStatus": "On branch developer\nYour branch is ahead of 'origin/developer' by 10 commits.\n (use \"git push\" to publish your local commits)\n\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/core/actions/use-case/publication-file-get-by-document-id.service.ts\n\tmodified: src/app/core/actions/use-case/publication-list-by-process-id.service.ts\n\tmodified: src/app/infra/database/dexie/instance/action/service.ts\n\tmodified: src/app/modals/crop-image/crop-image.page.ts\n\tmodified: src/app/pages/publications/publications.page.ts\n\tmodified: src/app/shared/publication/view-publications/view-publications.page.ts\n\tmodified: src/app/shared/swiper/swiper.page.ts\n\tmodified: src/app/store/publication-folder.service.ts\n\tmodified: version/git-version.ts",
|
"changeStatus": "On branch developer\nYour branch is ahead of 'origin/developer' by 11 commits.\n (use \"git push\" to publish your local commits)\n\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tnew file: ios-build.md\n\tmodified: src/app/pages/gabinete-digital/diplomas-assinar/diploma-assinar/diploma-assinar.page.ts\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.ts\n\tmodified: src/environments/suport/dev.ts",
|
||||||
"changeAuthor": "peter.maquiran"
|
"changeAuthor": "peter.maquiran"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user