Totara Social Open Discussions

Totara mobile IOS and Android issues

 
Ariel Teixeira
Totara mobile IOS and Android issues
by Ariel Teixeira - Wednesday, 6 April 2022, 4:32 AM
 

Hello
I am facing some issues, when I try to build de app even for the debug mode, when I execute "npm run ios" or "npm run android", it can't be done successfully. Even i having followed all the steps described in the documentations in the link bellow:


https://help.totaralearning.com/display/DEV/Getting+started+with+the+Totara+Mobile+app

Craig Eves
Re: Totara mobile IOS and Android issues
by Craig Eves (Totara Support) - Wednesday, 6 April 2022, 4:53 PM
Group Totara

Hi Ariel

Can you confirm that you are wanting to develop a custom mobile app or whether you are wanting to download the mobile app from the App store?

if you are developing an app are you able to create a support ticket with the versions of Totara and Mobile App you are using and the steps you have taken?

regards

Ariel Teixeira
Re: Totara mobile IOS and Android issues
by Ariel Teixeira - Monday, 18 April 2022, 2:28 AM
 

I am using totara mobile source code for developing, the version is 1.1.2 (I find it on package.json)

My steps: 

Android development enviroment 

  1. clone de repository
  2. run npm install (I tryied with yarn either)
  3. npm start: to start the metro server
  4. at least npm run andorid, so this work just building a debug-apk that depends on metro server to work
  5. when I try build a release-apk this stop in the middle of the process emiting some errors message.


IOS development enviroment (xcode13)

  1. clone de repository
  2. run npm install (I tryied with yarn either)
  3. npm run ios and that dont work even for debug mode