Fix formulario de postulación y configuración de producción
- Actualizar API_URL a jobhero-api.consultoria-as.com - Arreglar autocomplete de dirección para sincronizar con GPS - Corregir número interior para que sea editable y no se autollene incorrectamente - Cambiar ionChange a ionInput para lista de sugerencias - Agregar configuración de firma para APK release Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -16,8 +16,17 @@ android {
|
|||||||
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
|
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
signingConfigs {
|
||||||
|
release {
|
||||||
|
storeFile file('../../jobhero-release.keystore')
|
||||||
|
storePassword 'JobHero2024!'
|
||||||
|
keyAlias 'jobhero'
|
||||||
|
keyPassword 'JobHero2024!'
|
||||||
|
}
|
||||||
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,16 +25,16 @@
|
|||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item>
|
<ion-item>
|
||||||
<ion-label position="fixed">{{'categories.address' | translate}}</ion-label>
|
<ion-label position="fixed">{{'categories.address' | translate}}</ion-label>
|
||||||
<ion-input [(ngModel)]="addressAutocomplete" (ionChange)="autocomplete($event)" value="{{ myAddress }}" (ionFocus)="showlist()"></ion-input>
|
<ion-input [(ngModel)]="addressAutocomplete" (ionInput)="autocomplete($event)" (ionFocus)="showlist()"></ion-input>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-list *ngIf="showif">
|
<ion-list *ngIf="showif && placesSearch && placesSearch.length > 0">
|
||||||
<ion-item button=true (click)="geoloc(places.place_id, places.description, places.terms[1].value)" *ngFor="let places of placesSearch" class="place">
|
<ion-item button=true (click)="geoloc(places.place_id, places.description)" *ngFor="let places of placesSearch" class="place">
|
||||||
{{ places.description }}
|
{{ places.description }}
|
||||||
</ion-item>
|
</ion-item>
|
||||||
</ion-list>
|
</ion-list>
|
||||||
<ion-item hidden>
|
<ion-item>
|
||||||
<ion-label position="fixed">{{'categories.int_number' | translate}}</ion-label>
|
<ion-label position="fixed">{{'categories.int_number' | translate}}</ion-label>
|
||||||
<ion-input value="{{ myIntnumber }}" disabled></ion-input>
|
<ion-input [(ngModel)]="myIntnumber" placeholder="Opcional"></ion-input>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item>
|
<ion-item>
|
||||||
<ion-label position="fixed">{{'categories.references' | translate}}</ion-label>
|
<ion-label position="fixed">{{'categories.references' | translate}}</ion-label>
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ export class CategoryPage implements OnInit {
|
|||||||
const address = results[0].formatted_address;
|
const address = results[0].formatted_address;
|
||||||
console.log("data_: ", address);
|
console.log("data_: ", address);
|
||||||
this.myAddress = address;
|
this.myAddress = address;
|
||||||
|
this.addressAutocomplete = address; // Sincronizar con el input
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -142,9 +143,9 @@ export class CategoryPage implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
geoloc(place_id: string, place_description: string, place_intnumber: string) {
|
geoloc(place_id: string, place_description: string) {
|
||||||
this.myAddress = place_description;
|
this.myAddress = place_description;
|
||||||
this.myIntnumber = place_intnumber;
|
this.addressAutocomplete = place_description; // Sincronizar con el input
|
||||||
console.log(place_id);
|
console.log(place_id);
|
||||||
this.hidelist();
|
this.hidelist();
|
||||||
new google.maps.Geocoder().geocode({ placeId: place_id }, coordinates => {
|
new google.maps.Geocoder().geocode({ placeId: place_id }, coordinates => {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { Injectable } from '@angular/core';
|
|||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
export class EnvService {
|
export class EnvService {
|
||||||
API_URL = 'http://192.168.10.207:8080/api/';
|
API_URL = 'https://jobhero-api.consultoria-as.com/api/';
|
||||||
SECRET = 'wBIIKuDbrxNKzQhAUGiZLoaoQ4MichAN3wP2AP7B';
|
SECRET = 'wBIIKuDbrxNKzQhAUGiZLoaoQ4MichAN3wP2AP7B';
|
||||||
MERCHANT_ID = 'm9k4beuso5az0wjqztvt';
|
MERCHANT_ID = 'm9k4beuso5az0wjqztvt';
|
||||||
PUBLIC_API_KEY = 'pk_9465179493384689a8d2da9adc825411';
|
PUBLIC_API_KEY = 'pk_9465179493384689a8d2da9adc825411';
|
||||||
|
|||||||
Reference in New Issue
Block a user