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

Capacitor core LocalNotifications every hour at specific minute

$
0
0

Looking at the Capacitor source, I suspect it’s expecting the schedule to contain either every or on, but not both.


UIWebView references in blank project

$
0
0

Many thanks; switched over to cordova-ios@6.0.0 and it works fine.

Ionic 3 Iframe Android net::ERR_BLOCKED_BY_RESPONSE

$
0
0

Hello,
I have iframe into iframe, the first iframe work no problem but the second iframe into android I have message error : net::ERR_BLOCKED_BY_RESPONSE

IOS => OK

config.xml

<access origin="*" subdomains="true" />
<allow-navigation href="*" />
<allow-intent href="*" />

Capacitor core LocalNotifications every hour at specific minute

$
0
0

Then how the schedule object should look like ?

DevicesNotFoundError when trying to access camera through webrtc

$
0
0

This post is really old, but I am facing this same issue and I am unable to find any solution for this. Can anyone help me with it?

Native webrtc Plugin for ionic

$
0
0

@srinivasuk Hi were you able to find any solution? My web app works fine with webrtc, but it throws error for media permissions in android. Though I have allowed all permissions.

no matching service worker detected. You may need to reload the page

$
0
0

Did you find a solution please ?

List App in open with dialog

$
0
0

Hello,
how can I list my App in the open with section for ios and android that If a user tries to open a csv, xlsx the user can open it with my app?


Problem adding a custom component to ionic 4

Capacitor core LocalNotifications every hour at specific minute

$
0
0

I guess just schedule: {on: {minute: 40}}. The docs could do with some more info.

Ionic 3 to 5 Upgrade

$
0
0

Hello @peridious ,

We can surely discuss the work. Keenly interested to work with you.

PM is sent with more details.

Look forward to a fruitful conversation.

Regards,
Vidhi

Seeking Rock Star Ionic v5 Developer for full-time contract(s) *FUN PROJECTS*

$
0
0

Hello @AexandertheCait,

We can surely discuss the work. Keenly interested to work with you.

Mail is sent with more details.

Look forward to a fruitful conversation.

Regards,
Vidhi

Serving Ionic WebApp from a subfolder

$
0
0

This suggestion is working after changing the angular.json as suggested by rapropos
All pages / urls are working from root but could not open a page with its specific url
say if I try to open by typing the url “www.mywebsite.com/contact” gives ‘Not found’ error message.
But the same page is opening from root ‘www.mywebsite.com
Is there any solution to fix it to work all pages open with its own url
so, that we can refer a particular page to some one.
thanks.

IONIC Online tutor Plattforms

$
0
0

Hi Dietmar,
I’m trying to learn Angular / Ionic too.
May be we can share the class if we will find a tutor!

Ionic build halts without any error

$
0
0

I am a newbie using Ionic. A previous developer developed an Ionic v3 project which I am taking further. I am trying to build the project but it stops its execution without any errors. Below is my Ionic info :

global packages:

Cordova CLI : 8.0.0

local packages:

@ionic/app-scripts : 3.1.0
Cordova Platforms  : android 8.0.0 browser 5.0.4
Ionic Framework    : ionic-angular 3.9.2

System:

Node : v8.9.1
npm  : 5.5.1
OS   : Windows 10

And here is where the execution stops

Please let me know in case any other info is needed from my end. I have been already stuck with this issue since 3 days now. Have no clue how to solve this. Any help is appreciated. Thanks.


Create ionic 4 Project

$
0
0

Why am I trying !!? Because I want to try Ionic 4 not Ionic 5

Ionic 5 http request returns only "undefined"

$
0
0

Ok, so I need to send a post request to the server, this is my api.service.ts code:

import { HttpClient, HttpHeaders, HttpErrorResponse } from '@angular/common/http';
import { HTTP } from '@ionic-native/http/ngx';
constructor(public platform: Platform, private http: HttpClient, private config: Config, private ionicHttp: HTTP) {
postItem(endPoint, data = {}, path = '/'){
    const url = this.config.url + path + 'wp-admin/admin-ajax.php?action=mstoreapp-' + endPoint;
    var params = new HttpParams();
    for (var key in data) { if('object' !== typeof(data[key])) params = params.set(key, data[key]) }
    params = params.set('lang', this.config.lang);
    return new Promise((resolve, reject) => {
        this.http.post(url, params, this.config.options).pipe(map((res: any) => res)).subscribe(data => {
	    resolve(data);
	}, err => {
	    reject(err.error);
	});
    });
}

When I call it like this:

this.api.postItem('store', {'store_id': this.id}).then(res => {
    console.log( res );
}, err => {
    console.log(err);
});

I get this result:

It works fine.
However, when I change it to this:

postItem(endPoint, data = {}, path = '/'){
    const url = this.config.url + path + 'wp-admin/admin-ajax.php?action=mstoreapp-' + endPoint;
    data['lang'] = this.config.lang;
    this.ionicHttp.setHeader(this.options, 'Content-Type', 'application/json; charset=UTF-8');
    this.ionicHttp.setDataSerializer('urlencoded');
    return new Promise((resolve, reject) => {
        this.ionicHttp.post(url, data, {})
	  .then(data => {
            console.log(data.data);
            resolve(JSON.parse(data.data));
	  })
	  .catch(error => {
            console.log(error.error);
            reject(JSON.parse(error.error));
	  });
    });
}

I get this result:


It only returns “undefined”
Code on the server side:
    public function getStore() {
        
        global $wpdb;
        
        $id = $_REQUEST['store_id'];
        $store = $wpdb->get_results( "
            SELECT * FROM $wpdb->posts AS p
            WHERE p.post_type='stores' AND p.ID='$id'
        ", ARRAY_A );

        wp_send_json( $store );
}

This is ionic info

Ionic:

   Ionic CLI                     : 6.9.2 (C:\Users\matve\AppData\Roaming\npm\node_modules\@ionic\cli)
   Ionic Framework               : @ionic/angular 5.0.0
   @angular-devkit/build-angular : 0.803.25
   @angular-devkit/schematics    : 8.3.25
   @angular/cli                  : 8.3.25
   @ionic/angular-toolkit        : 2.1.2

Capacitor:

   Capacitor CLI   : 2.1.0
   @capacitor/core : 2.1.0

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0, browser 6.0.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 17 other plugins)

Utility:

   cordova-res : 0.14.0
   native-run  : 1.0.0

System:

   Android SDK Tools : 26.1.1 (C:\Users\matve\AppData\Local\Android\Sdk)
   NodeJS            : v13.3.0 (C:\Program Files\nodejs\node.exe)
   npm               : 6.13.1
   OS                : Windows 10

Could you suggest what could be a cause of this problem, and how to solve it? I’ll appreciate it a

Package build error: "Failed to restore plugin "WebViewer" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin WebViewer@~0.0.1 via registry."

$
0
0

I have the same error when trying to compile the ionic package
use the command: ionic cordova build android

I’ve tried millions of alternatives, but no success.

Help pls.

"Missing Push Notification Entitlement" in project with push notifications

Trouble with Internet Explorer and running my ionic app in the browser

$
0
0

I have an ionic app that runs well on Apple devices, Androids, and all other browsers but Internet Explorer. I have IE 11. When I run the app via command line (‘ionic cordova run browser’), it gets stuck on the loading page laid out in index.html and doesn’t load into the actual app and homepage. Has anyone had an issue like this before? I have no idea what is going on here or even where to begin with fixing it.

Viewing all 231638 articles
Browse latest View live


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