Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 228535 articles
Browse latest View live

401 when downloading file: Credentials (cookie) not sent in header

$
0
0

Currently I’m facing the same issue. I’ve migrated my app from using UIWebView to WKWebView and now file-transfer is not working (returning 401). Did you found a solution for this?


MBBS in Ukraine

$
0
0

MBBS in Ukraine is the best option for you to make your dream come true as you don’t have to worry about high fee structure, difficult admission procedure and spending more time in a very difficult course curriculum that may keep you in pressure. MBBS in Ukraine is for those Indian students, who cannot afford the high fees of medical colleges in India that are sometimes beyond one’s expectations.

Website – https://www.themdhouse.com/mbbs-in-ukraine.php

Ionic 3 get ssid

$
0
0

@Riyaz0001 seems really nice, congrats! I have 2 questions:

  • will this work when using capacitor to build?
  • is it possible to get the wi-fi information for all SSIDs from a device and not just the active one?

WKWebView for iOS ionic application

$
0
0

WKWebView error/bug is preventing iOS ionic application on iOS 13.3 from functioning on the device. Error displayed on the console logs is as follows: 2020-01-14 13:59:42.815133+0200 CellaRepV2[501:51429] [Process] kill() returned unexpected error 1. Application functions normally on iOS 12.4.

Ionic Grid - Two buttons with different content but with the same size, side by side

$
0
0

Question answered here

Ref : https://ionicframework.com/docs/layout/grid#grid-size

<ion-grid>
    <ion-row>
        <ion-col size-sm="6" size="6" class="ion-text-center">
            <ion-button expand="full" class="ion-text-wrap min-max-width">Menu</ion-button>
        </ion-col>

        <ion-col size-sm="6" size="6" class="ion-text-center">
            <ion-button expand="full" class="ion-text-wrap min-max-width">Abcdefghijklmn</ion-button>
        </ion-col>
    </ion-row>
</ion-grid>

<style>
    .min-max-width {
        max-width: 200px;
        margin: 0 auto;
    }
</style>

Ionic 4 - PWA -> offline not working

$
0
0

What was the typo and where do i find web.config in ionic4 project ?

Erro na hora do Build

$
0
0

Olá pessoal, tudo bem?

Quando estou compilando meu app aparece um erro de Gradlle, vocês podem me ajudar? O que fazer para seguir nesse caso?

How to work with local mp3 files?

$
0
0

How to work with local mp3 files?
I am asking, because the UI of Creator doesn’t let me add folders or upload media files other than images.

I am trying to create an app with sound fx.
I got the app to do everything I wanted except that I can’t work with local mp3.

When I export the package, it is still pointing to an external mp3 path.


Rebuild an old app

$
0
0

I need to rebuild an apk from source code only - Ionic v.1. I see that the curent Ionic CLI supports creating type 1 blank projects. What is the process to do this please, in the past I used a cloud service for the build that no longer exists now.

Ionic 4 - PWA -> offline not working

$
0
0

The typo caused the web.config file to not readed as an xml.

The web.config file is on the server (IIS), not in Ionic, if it is not present on the server, you have to create it yourself.

Updating Android SDK

$
0
0

I have recently had to update my android SDK for their app store. I’ve installed Android Studio, updated my environment variables and gradle.build. When I run ionic info in VS Code, it still says that the android SDK is pointing to the older SDK. If anyone could help me out, that would be great. I’m on a Windows 10 machine if that’s any help.

Thanks!

Apple's new "Adaptive User Interfaces" requirement

$
0
0

I stumbled onto this announcement earlier today, but now I’m curious as to how this will affect Ionic apps… The announcement includes a note stating:

As announced at WWDC19, starting April 2020, apps submitted to the App Store must use an Xcode storyboard to provide the app’s launch screen and must have an interface that supports any display size.

Is this something that we need to worry about with Ionic?


Note: I’m posting this in the “Ionic Appflow” category because I suspect that if it does affect Ionic, it would probably affect the building of iOS apps more than the development of them… Although I’m not sure if this assumption is correct.

Have DateTime be opened by button?

How to remove ionic 4 Ios app Bounce effect without prevent scrolling page

$
0
0

If any solution are available, then please tell me as soon as possible.
Bcuz client are frustrated to remove this bounce effect

How to override java classes of a cordova plugin

$
0
0

Please i am trying to override java classes of cordova plugins in my node modules, but after i build apk, it goes back to default state, please what can i do to make it consistent , because i am having security issues with those classes after undergoing veracode scan


Alert missing present?

$
0
0

I’m learning Ionic and Angular. Currently woking on a todo list app. I created a updateTask button. When I click on the button, alert.present is not a funktion? Am I missing something?

constructor(public navCtrl: NavController, public alertCtrl: AlertController) {
}

async updateTask(index) {
	let alert = this.alertCtrl.create({
		title: 'Update Task',
		message: 'type to update',
		inputs: [{name: 'editTask', placeholder: 'Task'}],
		buttons:[{text: "Cancel", role: 'cancel'},
				{text: "Update", handler: data => {
					this.taskList[index] = data.editTask;
				}
				}
				]
	});
	await alert.present();
}

Full screen slides / photo gallery

$
0
0

This is what I use:

this.customBackActionSubscription = this.platform.backButton.subscribe(async (data) => {
        try {
          // If full-size image gallery is open, close it.
          if (document.getElementsByClassName('pswp--open').length !== 0) {
            document.getElementsByClassName('pswp--open')[0].classList.remove('pswp--open');
          }
        } catch (error) {
          console.log(error.errorMessage);
        }

        return;
      });

Unsubscribe from FCM

$
0
0

Hi!
I have a problem with FCM. I’m using Ionic with Capacitor and Firebase Cloud Messaging.
I make my code following this steps: https://capacitor.ionicframework.com/docs/guides/push-notifications-firebase
But I want to register when the user is logged, so I put the code when the login is completed.
The notifications works very good. But I have a problem. I want to unsubscribe from FCM (delete token) when the user is log out, because I just want users logged in to receive notifications.
¿How can I do this?
Thank you very much, and sorry for my english.

Sqlite mock with ionic v4

$
0
0

is possible handle Transaction with this Mock?
Im facing this error when try execute a COMMIT:

Error: cannot commit - no transaction is active.

Thanks.

--prod stuck on white screen, no errors

$
0
0

downgrading typescript to 2.8.4 helped me

Viewing all 228535 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>