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

Crash barcode scanner on Ionic 3

$
0
0

Exactly! I agree with you. @mahimparsai you can share about your app project so that things could be discussed. :slight_smile:


Why Ng-Idle not working on iOS when app is in background mode for ionic 4?

$
0
0

I’m using the latest ng-idle (8.0.0-beta.4) the behavior is quite uncertain. Though most of time it doesn’t track the time, sometimes it tracks with a delay. Say I want to track 60 seconds and app goes to background and comes to foreground at 60 sec, then it would be tracked around 80 second. So it is working with some error. What about your case ?

GeoLocation GPS

$
0
0

Hello @jireascos1!
Let me share an idea with you…
To move the marker you must update its coordinates. For example, if you are using “current position” to know the user’s position, use these coordinates for the marker as well. So, as the user moves the marker also moves on the screen. In summary, use the coordinates obtained from the user to update the marker.
You have to create a function to do that.

Tutorial/guide to build for Ionic-React-Electron app

$
0
0

electron apps are served from file protocol, so they need to be built in a different way.
I’ve made it work by adding "homepage": "." in the package.json and removing the <base href="/" /> in index.html or changing it to <base href="%PUBLIC_URL%/">

Struggling to run ionic 3 on windows (UWP) after adding SQLite

$
0
0

I know it’s been a while… Did anyone manage to resolve this?

Ionic 4 ios build failed

$
0
0

ionic 4 app build failed giving code 65 . I have already installed cocoapods

Ionic iOS build process failing

$
0
0

Hi @snouto!
Welcome to the community!
I suppose that your local installation may be not correct.
So first, remove the iOS platform from the app and try again.
Uninstall the cocoapods from your mac, and start a fresh installation.
Take care about using “sudo”, use only if it’s necessary.
Hope it helps to solve the problem.

Ionic 4 ios build failed

$
0
0

Hi @prabhashi1!
Please, may you paste the complete error you are getting?
Beforehand you may try:

ionic cordova platform remove ios
ionic cordova platform add ios

Also:

npm cache clean
npm i

If still the problems, give us the errors.


Changing HostName deviceready has not fired after 5 seconds

$
0
0

Hi guys,
After i’ve change the hostName in the config.xml I started getting:

deviceready has not fired after 5 seconds.
cordova.js:1198 Channel not fired: onFileSystemPathsReady
cordova.js:1198 Channel not fired: onCordovaInfoReady

And from there nothing is working on the phone. Any help?

How To Add Sign In With Apple In Ionic 3

$
0
0

Hi,

Please, could you help me, after install plugin, SignInWithApple not recognize.

Many Thanks

Ionic 4 ios build failed

$
0
0

Hi @TomCosta I have tried these and still having the same issue.
here is my error

image

Ionic-2.2.1 - Is it possible to implement offline video download inside the app

$
0
0

Hi @Saurabhpanwar67412!
Welcome to the community!
If I really understood your question. Yes!
First do a download of the video and after select it to play.
To do a download you need to be online, can not be offline.
But to play a local video downloaded you may be offline.
There are different things to do and for steps.
Cannot do all together, I think.

How To Add Sign In With Apple In Ionic 3

$
0
0

Show error like this, Property ‘SignInWithApple’ does not exist on type ‘CordovaPlugins’.

Ionic 4 ios build failed

$
0
0

So, please try:

  1. Update:
    Xcode
  2. Update all libraries:
    npm i npm @ latest -g
  3. Update all local libs:
    npm update
  4. Try again:
    ionic cordova platform update ios
  5. Finally do:
    cordova plugin save && cordova platform rm ios && cordova platform add ios

Exporting Ionic 4 Pwa in a single folder

$
0
0

Hi
not sure if this helps, but I am deploying my angular4-pwa enabled app via firebase deploy and do not need to worry (nor care) about the files.

The firebase setup in firebase.json rewrites all URLs to index.html

"rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ],

I think, strictly spoken, one should not care too much about anything that is generated by the CLI.

The load of JS is because of lazy loading.

And if you use angular then the PWA toolkit handles all for you.

So I wonder what problem you really trying to solve


Upgrade android platform to version 9

Tutorial/guide to build for Ionic-React-Electron app

$
0
0

Any chance the capacitor docs get changed to reflect this? I tried to follow these steps too, and failed to get it launched… which is a pity.

Can I append "--prod --release" to my production AppFlow Package builds?

$
0
0

Ok, so here’s a weird one… After reading through the AppFlow Environments documentation recently, I noticed that the CI environment sets a few variables, including CI_GIT_REF_TYPE and CI_GIT_REF.

Then from one of my existing apps, I tried pushing a tag to my ionic remote and it worked fine:

image

At this point I thought I might get around this issue by adding a Bash script to my repo and changing the NPM build script command to run that instead, allowing me to run conditional commands based on the value of these environment variables.

So, I duly created a new project for testing, linked it to a new app in Ionic AppFlow, ran npm version to nump the version and set a tag, then I tried to push that tag to my ionic remote, exactly as I had done with my existing project. But this resulted in the following error:

remote: Error: only pushes are allowed.        
remote: error: hook declined to update refs/tags/v1.0.0        
To git.ionicjs.com:nortechdev/ionic-appflow-tester.git
 ! [remote rejected] v1.0.0 -> v1.0.0 (hook declined)
error: failed to push some refs to 'git@git.ionicjs.com:nortechdev/ionic-appflow-tester.git'

At first I thought this might be because there were no branches in my ionic remote yet, so I moved the HEAD of master to the previous commit, pushed that to ionic (which worked fine), moved master forward again to the point I had my tag and tried again, only to get the exact same error.

So what am I missing here, can we actually push tags to the Git repository in Ionic AppFlow or not?

Exporting Ionic 4 Pwa in a single folder

$
0
0

Hi, thanks for your reply!

FIREBASE WAY:
Once you deployed your app btw the domain something like : www.YourAppName-code.firebaseapp.com right?
If not, how did you change the domain to your custom domain? (after you bought is from a registrar of course)

FTP WAY:
An alternative to firebase deploy is using a ftp manager program like FileZilla and upload the www contents to your domain. This create a lot of js files and it makes the environment a little bit dirty.
I’d like to upload the www folder like it used to be in Ionic 3 in order to have all the necessary file INSIDE the www folder instead of having everything spread out.

I’d like to get this:

www.mydomain.com
|-------|MyFolder1 (not related to PWA)
|-------|MyPWA
-----------|-> index.html
-----------|-> worker-basic.min.js
-----------|-> safety-worker.js
-----------|-> all .js stuff
-----------|-> …
|-------|MyFolder2(Not related to PWA)
|-------|MyFolder3(Not related to PWA)

and NOT this:

www.mydomain.com
|-------|MyFolder1 (not related to PWA)
|------- index.html
|------- worker-basic.min.js
|------- safety-worker.js
|------- all .js stuff

|-------|MyFolder2(Not related to PWA)
|-------|MyFolder3(Not related to PWA)

Thanks again,
N

Failed to load resource: net::ERR_CLEARTEXT_NOT_PERMITTED

Viewing all 228529 articles
Browse latest View live


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