Updated specific locations to be searchable, take a look at Las Vegas as an example.

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Native network plugin causing Maximum call stack size exceeded
Post Body

Hi,

Has anyone come across a problem where subscribing to network connection type causes a call stack error?

I have added my code within a platform.ready()

const disconnectSubscription = this.network.onDisconnect().subscribe(() => {
this.store.set('network', this.network.type);
});
const connectSubscription = this.network.onConnect().subscribe(() => {
setTimeout(() => {
this.store.set('network', this.network.type);
}, 3000);
});

I get the following error:

ERROR RangeError: Maximum call stack size exceeded - core.js:9110

at setupSubscription (fromEvent.js:26)

at setupSubscription (fromEvent.js:45)

at setupSubscription (fromEvent.js:45)

at setupSubscription (fromEvent.js:45)

at setupSubscription (fromEvent.js:45)

at setupSubscription (fromEvent.js:45)

at setupSubscription (fromEvent.js:45)

at setupSubscription (fromEvent.js:45)

at setupSubscription (fromEvent.js:45)

at setupSubscription (fromEvent.js:45)

Author
Account Strength
90%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
691
Link Karma
293
Comment Karma
398
Profile updated: 2 days ago
Posts updated: 3 weeks ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago