Skip to content

Instantly share code, notes, and snippets.

View amilamen's full-sized avatar
🗼
It isn't a competition 😊 just my work 🤓

Ezéchiel Amen AGBLA amilamen

🗼
It isn't a competition 😊 just my work 🤓
View GitHub Profile
@amilamen
amilamen / Soumission Apple Appstore - iOS.md
Created September 14, 2019 19:40 — forked from juliengdt/Soumission Apple Appstore - iOS.md
Soumission Apple Appstore - iOS

Soumission Apple Appstore - iOS

Ce document liste toutes les informations nécessaires afin de soumettre rapidement une application iOS sur iTunesConnect pour:

  • Une nouvelle application
  • Une mise à jour d'application

Nouvelle Application

async toggle() {
if (!this._playerModal) {
const { PlayerModalComponent } = await import( '../player-modal/player-modal.component');
this._playerModal = PlayerModalComponent;
}
const modalInstance = await this.modalCtrl.create({
component: this._playerModal,
swipeToClose: true,
cssClass: 'full-modal',
});
intercept(request: HttpRequest<any>, next: HttpHandler) {
return from(this.storageService.getToken()).pipe(
switchMap((token) => {
if (token) {
request = request.clone({
headers: request.headers.set("Authorization", "Bearer " + token),
});
}
request = request.clone({
headers: request.headers.set("Accept", "application/json"),