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

Ionic package IOS Build fails missing 'xcode' npm module on setManualSigning.js

$
0
0

You could try updating Cordova CLI and cordova-ios to current versions. Maybe that helps.

Before that maybe tr creating a new project with your current configuraiton:


Longer running background process (synching huge amounts of data) - general pointers?

$
0
0

I am working with an API that is used to sync bigger amounts of data (JSON arrays mostly, later maybe also images) to the device. Unfortunately there are lots of endpoints to call to be able to collect all required data, so it is quite a complicated process.

How should I implement such a "background process" in general?

The user should be able to use the app as normal, and the views will handle the missing data just fine - I am just not sure how I can make sure the process is started and then running until it is finished, even if the app is closed while it is running, the user stops using the app etc.

I am thankful for any pointers or links that help. Thank you.

Ionic platform add android: Error: Your android platform does not have Api.js

$
0
0

I have just updated Cordova to latest version and get this error. I also updated node.

Turns out I had some untitled platforms appearing and I deleted them.

How can new object push into array ionic new

$
0
0

how can new object push into array ionic 2 new

Ionic gestures doesn't work on ion-tab

$
0
0

I want to use on-double-tap in ion-tab element. But doesn't work. Here is codepen.

I even tested with $ionicGesture event listeners:

var el = angular.element(document.querySelector('#first_tab'));
var callback = function(e) {
      console.log('gestureee!');
};
// tested : hold, tap, doubletap
$ionicGesture.on('hold', callback, el);

html:

<ion-tab id="first_tab" icon="icon-tab-margin tab-icon-size ion-android-home" href="#/tab/dash">
	<ion-nav-view name="tab-dash"></ion-nav-view>
</ion-tab>

Both of them works fine into the each tab's content or other states.

Ionic cordova run android: error in opening zip file

Ionic cordova run android: error in opening zip file

$
0
0

Run cordova run android --debug --debug > file.txt and then post the WHOLE file.txt content here.

Ionic cordova run android: error in opening zip file

$
0
0

Running app-scripts build: --address 0.0.0.0 --port 8100 --p 8100 --livereload-port 35729 --r 35729 --iscordovaserve --externalIpRequired --nobrowser

[14:50:45] build dev started ...
[14:50:45] clean started ...
[14:50:45] clean finished in 6 ms
[14:50:45] copy started ...
[14:50:45] transpile started ...
[14:50:47] transpile finished in 2.55 s
[14:50:47] preprocess started ...
[14:50:47] deeplinks started ...
[14:50:47] deeplinks finished in 63 ms
[14:50:47] preprocess finished in 64 ms
[14:50:47] webpack started ...
[14:50:48] copy finished in 2.87 s
[14:50:57] webpack finished in 9.91 s
[14:50:57] sass started ...
[14:50:58] sass finished in 1.09 s
[14:50:58] postprocess started ...
[14:50:58] postprocess finished in 4 ms
[14:50:58] lint started ...
[14:50:58] build dev finished in 13.66 s
e[2Ke[G> cordova run android --debug
e[2Ke[GANDROID_HOME=C:\Android\sdk
e[2Ke[GJAVA_HOME=C:\Program Files\java\jdk1.8.0_65
e[2Ke[GSubproject Path: CordovaLib
e[2Ke[GUnzipping C:\Users\Muhammet Tayyip.gradle\wrapper\dists\gradle-3.3-all\55gk2rcmfc6p2dg9u9ohc3hw9\gradle-3.3-all.zip to C:\Users\Muhammet Tayyip.gradle\wrapper\dists\gradle-3.3-all\55gk2rcmfc6p2dg9u9ohc3hw9
e[2Ke[G
e[2Ke[GException in thread "main"
e[2Ke[Gjava.util.zip.ZipException: error in opening zip file
e[2Ke[G at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
e[2Ke[G
at java.util.zip.ZipFile.(ZipFile.java:163)
at org.gradle.wrapper.Install.unzip(Install.java:215)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:75)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
e[2Ke[G
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
e[2Ke[GError: cmd: Command failed with exit code 1 Error output:
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.zip.ZipFile.(ZipFile.java:163)
at org.gradle.wrapper.Install.unzip(Install.java:215)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:75)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
e[2Ke[G
e[2Ke[G
e[2Ke[G[ERROR] Cordova encountered an error.
You may get more insight by running the Cordova command above directly.

e[2Ke[G[ERROR] An error occurred while running cordova run android --debug (exit code
1).


Save data string image to gallery in cordova app

$
0
0

Hi Guys..
I just try to save the data string(data:image/png;base64) formated.But i get an error says "Error while saving image" .This the callback error from window.imageSaver.saveBase64Image();
here is the my code

var params = {data: base64Data, prefix: 'coupon_', format: 'JPG', quality: 80, mediaScanner: true};
         window.imageSaver.saveBase64Image(params,
            function (filePath) {
              console.log('File saved on ' + filePath);
            },
            function (msg) {
              console.error(msg);
            }
          );

Im also tried this too.But shows the same error "Error while saving image"

cordova.base64ToGallery(
        base64Data,

        {
            prefix: 'img_',
            mediaScanner: true
        },

        function(path) {
            console.log(path);
        },

        function(err) {
            console.error(err);
        }
    );

What does this error means? Anybody can help me?

How to read this file JSON

$
0
0

{
etalon: {
8: {
course: [],
cheval: {}
},
235: {
course: [],
cheval: {}
},
345: {
course: [],
cheval: {}
},
355: {
course: [],
cheval: {}
},
468: {
course: [],
cheval: {}
}
},
}

Longer running background process (synching huge amounts of data) - general pointers?

$
0
0

This is more possible if you are writing a PWA for a desktop browser platform. If you want an app that can run on a handheld device, the device's operating system probably won't allow this, because of malware concerns. From the point of view of Android or Apple, if a user stops an app, the app should completely stop. Also, even if you find a way that works in the current OS, the next version of an OS might break your app, because companies are moving toward more security, not less.

This might be as much a user experience problem as a data problem, because you need to keep the user interested enough so the app remains open for long enough for the loading process to complete. So you might have to wireframe pages in relation to what data is most important to arrive first. Make sure there's at least five minutes of work to do the first time someone opens the app (or whatever time window you need).

Also, look at what you really need to download. If there are lots of high-resolution images, only download tiny thumbnails of those images, and download the high-res version only if the user clicks on a thumbnail. General concept: create extra data artifacts that are small, whose only purpose is to improve user experience, and then download the big, heavy data only when it is requested.

[PWA] My experience creating a PWA with Ionic from scratch to deployment

$
0
0

if i using cordova plugin which only work on device or emulator
how to implement for on pwa?

Is is possible to implement multi threading in ionic with bluetooth async communication

$
0
0

I want to implement an android and ios application where it has asynchronous bluetooth communication with bluetooth hardware device.
Is it possible to implement.

My applicaion have to listen notifications continuously(on one thread).

Image not displaying while displaying contacts

$
0
0

Thanks a lot for your time ..the issue has been resolved..and it was really a great learning by doing..

IOS application, ID bundle problem on XCode

$
0
0

I created an application with the Ionic Framework that allows me to make hybrid applications.
When I open my project on XCode, I have errors from XCode that I can not solve.

My errors are for example: "Automatic signing is unable to resolve an issue with the target's entities file" or "Provisioning profile ios team provisioning profile * doesn't include the aps-environment entitlement "or "Code signing is required for product type 'Application' in SDK 'iOS 10.3' "

I think the ID bundle has a mistake, however, I do not understand how to solve it.
How do I create a correct ID bundle without going through the project creation box since mine is already creating basic? (My ID bundle was generated by the global application's in the config.xml file)

Is it necessary to have a paid developer account to be able to create one? Or can I test my app simply on my phone?


Error: exporting my App from Creator

$
0
0

I send a ticket 4 days ago and got no answer.

You know if dowloading the .zip project I can make the apk file?

I really need it for the next Monday and support isn't giving me an answer.

Thank you Sujan.

[PWA] My experience creating a PWA with Ionic from scratch to deployment

$
0
0

Not only that was a good info the music are awesome hell i am going to use it in my mobile @zwacky, that musics are rocking

Ionic 1 On keyboard open i see this

$
0
0

Whenever any input field is focused seeing lots of these.

What's going on

2017-07-07 18:09:35.592 WeatherSpork[17781:7205108] Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
2017-07-07 18:09:36.624236+0530 WeatherSpork[17781:7205108] [Common] _BSMachError: port 1e1b; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
2017-07-07 18:09:36.624715+0530 WeatherSpork[17781:7205108] [Common] _BSMachError: port 1e1b; (os/kern) invalid name (0xf) "Unable to deallocate send right"

Cordova-plugin-whitelist problem only in release

Ionic 1 On keyboard open i see this

$
0
0

Did you added keyboard plugin to your App.

Viewing all 228529 articles
Browse latest View live


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