General Guidelines https://trello.com/c/IX6n2xmz/73-general-guidelines https://trello.com/c/DHKrU6mA/81-data-sync-general-guidelines Prerequisites Follow the steps in this card to configure mobile services in OpenShift and install Ionic Showcase App locally Steps Below steps should be done with example app on both Android and iOS real devices. 1. Run npm run ionic:android/npm run ionic:ios You should be redirected to a Keycloak Login page 2. Login as a user you've created in the Keycloak configuration step 3. Go to Grafana URL in your OpenShift project 4. In Mobile services dashboard, expand "Mobile app metrics" row 5. You should see some graphs updated with the data sent from your app (based on the mobile device's platform you are using) 6. In Grafana, select "Mobile app metrics" dashboard from the option menu on the top of the page 7. You should see some data here as well 8. In Ionic showcase app, go to Device Security section 9. In Mobile services dashboard, expand "Mobile security metrics" row 10. You should see some graphs updated with the data sent from your app (based on the check that failed/passed in "Device Security" section of the app) 11. In Grafana, select "Mobile security metrics" dashboard from the option menu on the top of the page 12. You should see some data here as well 13. If you are experiencing some issues (graphs are not being updated), please check that the data are sent from the device properly:
- for Android, open Chrome, open Developer Tools -> "three dots" menu -> More tools -> Remote devices -> Select connected Android device and click on Inspect
- for iOS, open Safari -> Develop -> Your device name -> localhost
You should not see any errors in the console
Trello link |