Coder Social home page Coder Social logo

Comments (11)

Tazaf avatar Tazaf commented on July 24, 2024

Hi !

Could you give more information (screenshots, error messages, if any) about the screenCapture not working in the Demo App ?
It was working during my tests.
Can you check if you have the latest Ionicitude version (^0.2.1-alpha) in the project (that should be the case, though).

from ionicitudedemoapp.

GeoffSeloana avatar GeoffSeloana commented on July 24, 2024

But i just downloaded the app and followed the instructions. I ran the "ionic state restore" and it ran well and restored everything. Running the app all the functions are working besides this particular one.

from ionicitudedemoapp.

Tazaf avatar Tazaf commented on July 24, 2024

(You should have put your initial message's edit on a new message, I almost missed it 😉)

When you say that you don't see the log in your console, may I ask you of which console you're talking about ?
Since there are two WebViews when an AR World is active (one with the Ionic App - in background -, and a second with the actual AR World), there are also two consoles (one for each WebViews).
That particular log should appear in the console of the Ionic App WebView, since it is executed from this WebView. It should not appear in the console of the AR World WebView.

To be completely sure, you could also check your device's gallery to see if you can find your screenshot.

from ionicitudedemoapp.

GeoffSeloana avatar GeoffSeloana commented on July 24, 2024

Sorry for not marking my previous message edited. I was referring to the one on the Ionic App, the one that should print out the path to the file.

from ionicitudedemoapp.

Tazaf avatar Tazaf commented on July 24, 2024

Ah... OK.

On which device (and OS) are you launching the app ? Is it an iPhone on iOS9 ?

(Also, did you found any screenshot in your phone's gallery ?)

from ionicitudedemoapp.

GeoffSeloana avatar GeoffSeloana commented on July 24, 2024

I am launching it on a note 3, android 5.0. I do not find anything in the gallery.

from ionicitudedemoapp.

Tazaf avatar Tazaf commented on July 24, 2024

Hum.

It seems as if the document.location statement in the capturescreen.js is not correctly catched, as you implied...

I'd like to see if it's specific to the capture screen statement or if it's the same behavior for all document.location statement.

You can see here that there is a second document.location statement on the captureScreen AR World example.

To fire it, you need to click on a POI and then click on the "More" button. As a result, there should be a console.log line in the Ionic WebView console (see attached - taken from the Ionic WebView console)

image

Could you try this and tell me if anything appeared on your console ?

from ionicitudedemoapp.

GeoffSeloana avatar GeoffSeloana commented on July 24, 2024

image
Nothing appears on the console. None of the buttons seems to recognize the clicks

from ionicitudedemoapp.

Tazaf avatar Tazaf commented on July 24, 2024

In your picture, you seem to be displaying the console for the AR World WebView. If it was the console for the Ionic App, there should be the same first lines of log as seen in my previous comment (unless you manually cleaned the console ?).

I see that you are using Chrome, so you should see something like that when navigating to chrome://inspect:

image

And the WebView you'd want to inspect is the one labelled index.html.

from ionicitudedemoapp.

GeoffSeloana avatar GeoffSeloana commented on July 24, 2024

image
Screen capture error

from ionicitudedemoapp.

Tazaf avatar Tazaf commented on July 24, 2024

Okay.
I see where the problem is. It appears that the Demo App is in fact not using the latest version of Ionicitude (despite me thinking so).

Thanks (again) for pointing that out. I'll made the correction now, and push a new version of the App to close the issue.

from ionicitudedemoapp.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.