-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Referencing the wrong server or not being able to load remote content from rcredits.org #28
Comments
Hi there, looks like you are running into cross origin issues which is a problem with your development environment. You can read more about that here: |
Alright, that makes sense. I haven't changed the code any other then the steps outlined in the GitHub readme. It obviously is trying to call my local machine (http://localhost:8100/pos in config.js?) and reference rCredits, however this configuration is what I got from the server. It probably should be something else – but what, I guess is my question. |
Could you give me some more details in how you are running the app? Are you running it on a device or emulator? |
I'm running it on my physical device
|
I'm running an unlocked version of Samsung Galaxy, Google flavor Android 4.3
|
Got it, just making sure you weren't running it on an emulator. Two things:
|
Yes, I am running in the developer branch
|
Perhaps try running the app in your browser first with On Thu, May 5, 2016 at 8:04 PM, Aaron E-J notifications@github.com wrote:
Tom Smyth Worker-Owner, Sassafras Tech Collective Resident, Touchstone Cohousing |
Specifically: https://github.com/apache/cordova-plugin-whitelist |
There I don't even get to the scan screen. |
Even using the following, I am still getting it:
|
Wait, didn't install the pluggin... :-) |
Nope, realized it was already installed and still nothing... |
Anything in your console? On Thu, May 5, 2016 at 8:59 PM, Aaron E-J notifications@github.com wrote:
Tom Smyth Worker-Owner, Sassafras Tech Collective Resident, Touchstone Cohousing |
Same thing as before. |
Ok, I'm going to create a new project and see if I can recreate the problem. |
I think it may be due to the fact that it is referencing the wrong address. I turned off wireless and my phone's ip is now 10.95.155.254 but I'm getting the message: |
So Android Whitelist plugin should be taking care of this. I have pushed a new config.json file with versions of the plugins. I would recommend doing a fresh install, but I need to update the readme with a couple things. |
Ok, updated the readme. I did a fresh install and it worked just fine. Let me know how it goes! |
Hello Sassafras – this is Aaron, a new developer with rCredits. I have been trying to build your new mobile app but have been running into error messages. Initially my errors had to do with my not fully understanding Ionic, however after resolving those, I now think it is more the rCredits app, related to referencing the wrong server or not being able to load remote content from rcredits.org. I am getting errors after scanning in a barcode. In Android Studio/Android Manager/logcat, it now gives the message:
And in the console:
Do you have any idea why I am getting these? I am assuming it must have something to do with a configuration somewhere but where, I am not sure.
The text was updated successfully, but these errors were encountered: