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:
...
05-05 14:08:30.671 12503-12512/com.ionicframework.rcreditsmobile621273 D/dalvikvm: GC_FOR_ALLOC freed 0K, 17% free 11604K/13816K, paused 20ms, total 20ms
05-05 14:08:30.702 12503-12503/com.ionicframework.rcreditsmobile621273 D/CaptureActivityHandler: Got decode succeeded message
[ 05-05 14:08:30.999 26009:14745 D/ ]
PPM: Focus finished in: :738.404 ms : 1462471711004 ms
05-05 14:08:32.350 12503-12503/com.ionicframework.rcreditsmobile621273 D/CaptureActivityHandler: Got return scan result message
05-05 14:08:33.054 12503-12503/com.ionicframework.rcreditsmobile621273 D/CordovaInterfaceImpl: Sending activity result to plugin
05-05 14:08:33.616 12503-13383/com.ionicframework.rcreditsmobile621273 D/dalvikvm: GC_FOR_ALLOC freed 2117K, 25% free 10424K/13816K, paused 78ms, total 80ms
05-05 14:08:34.179 12503-12503/com.ionicframework.rcreditsmobile621273 I/chromium: [INFO:CONSOLE(0)] "XMLHttpRequest cannot load https://stage-new.rcredits.org/pos. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.2.2:8100' is therefore not allowed access.", source: http://192.168.2.2:8100/#/app/login (0)
05-05 14:08:34.186 12503-12503/com.ionicframework.rcreditsmobile621273 I/chromium: [INFO:CONSOLE(28)] "", source: http://192.168.2.2:8100/ (28)
05-05 14:08:34.194 12503-12503/com.ionicframework.rcreditsmobile621273 I/chromium: [INFO:CONSOLE(28)] "Translation for undefined doesn't exist", source: http://192.168.2.2:8100/ (28)
05-05 14:08:34.202 12503-12503/com.ionicframework.rcreditsmobile621273 I/chromium: [INFO:CONSOLE(28)] "Translation for doesn't exist", source: http://192.168.2.2:8100/ (28)
05-05 14:08:34.233 12503-12503/com.ionicframework.rcreditsmobile621273 I/chromium: [INFO:CONSOLE(28)] "Translation for undefined doesn't exist", source: http://192.168.2.2:8100/ (28)
05-05 14:08:34.233 12503-12503/com.ionicframework.rcreditsmobile621273 I/chromium: [INFO:CONSOLE(28)] "Translation for doesn't exist", source: http://192.168.2.2:8100/ (28)
1 649155 error Unable to load user from Storage
2 652928 error No offline transactions
3 652931 error No offline transactions
0 697866 error Unable to load user from Storage
1 702430 error No offline transactions
2 702436 error No offline transactions
3 714186 error
4 714199 warn Translation for undefined doesn't exist
5 714204 warn Translation for doesn't exist
6 714233 warn Translation for undefined doesn't exist
7 714234 warn Translation for doesn't exist
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.