Giter Club home page Giter Club logo

sunbirded-mobile's Introduction

Setup Instruction

Codacy Badge Build Status

Follow the below steps for setup in your local system.

Dependencies

  • NPM Version - 3.5.2
  • Node JS Version - above 6
  • Cordova Version - 8.0.0
  • Ionic Version - 3.20.0
  • Android SDK

Setup SunbirdEd-mobile

  • git clone the repo.
  • rename sunbird.properties.example file to sunbird.properties and put all the valid credentials and api endpoint.
  • go to project folder and run npm i
  • run ionic cordova platform add android
  • the above will add an android platform and add all the plugins to that.
  • check you have an attached device with adb devices command
  • run ionic cordova platform run android

Basic command

Build for debug - npm run build-debug

Build for release - npm run build-rel

Run the android app - npm run android

sunbirded-mobile's People

Contributors

ajoym avatar ajoymaity avatar amiableanil avatar anilguptatarento avatar ankur01oct avatar arfath-gwl avatar balakrishna10 avatar bindu07 avatar christyfernandes avatar codacy-badger avatar diptesh6501 avatar guru270591 avatar indraja avatar itsvick avatar jsdevl avatar navkumarv avatar raghav14 avatar rajeshmuthyala avatar rjshrjndrn avatar sharathkashyap avatar shriharshs avatar smyaltamash avatar souvikmondal avatar subranil avatar swayangjit avatar vinayagasundar avatar vrayulu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sunbirded-mobile's Issues

Cannot find module 'sunbird'.

Hello Team, I am trying to start the ionic mobile app. But while starting is giving an error
Typescript Error
Cannot find module 'sunbird'.

Please let me know where I can find the sunbird module.

App Logout

When logging out from app, redirection happens to web browser instead of native app. This is confusing. So, future login from user ends up happening via web thereon and using web interface instead of native app.

39 vulnerabilities found in`npm audit`

Hi,

I was trying out cloning this repo and doing install locally, npm install indicated 39 vulnerabilities found.

Reporting issue - so this does not fall out of track.

added 1323 packages from 1287 contributors in 326.611s
[!] 39 vulnerabilities found [8116 packages audited]
    Severity: 5 Low | 30 Moderate | 4 High
    Run `npm audit` for more detail

npm audit report

my-lappy@manoj:~/GIT/sunbird-mobile$ npm audit
                                                                                
                       === npm audit security report ===                        
                                                                                
# Run  npm install --dev [email protected]  to resolve 4 vulnerabilities
SEMVER WARNING: Recommended action is a potentially breaking change
                                                                                
  High            Regular Expression Denial of Service                          
                                                                                
  Package         minimatch                                                     
                                                                                
  Dependency of   gulp [dev]                                                    
                                                                                
  Path            gulp > vinyl-fs > glob-stream > minimatch                     
                                                                                
  More info       https://nodesecurity.io/advisories/118                        
                                                                                


                                                                                
  High            Regular Expression Denial of Service                          
                                                                                
  Package         minimatch                                                     
                                                                                
  Dependency of   gulp [dev]                                                    
                                                                                
  Path            gulp > vinyl-fs > glob-watcher > gaze > globule > glob >      
                  minimatch                                                     
                                                                                
  More info       https://nodesecurity.io/advisories/118                        
                                                                                


                                                                                
  High            Regular Expression Denial of Service                          
                                                                                
  Package         minimatch                                                     
                                                                                
  Dependency of   gulp [dev]                                                    
                                                                                
  Path            gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch   
                                                                                
  More info       https://nodesecurity.io/advisories/118                        
                                                                                


                                                                                
  Low             Prototype Pollution                                           
                                                                                
  Package         lodash                                                        
                                                                                
  Dependency of   gulp [dev]                                                    
                                                                                
  Path            gulp > vinyl-fs > glob-watcher > gaze > globule > lodash      
                                                                                
  More info       https://nodesecurity.io/advisories/577                        
                                                                                


# Run  npm update xmlbuilder --depth 5  to resolve 1 vulnerability
                                                                                
  Low             Prototype Pollution                                           
                                                                                
  Package         lodash                                                        
                                                                                
  Dependency of   protractor                                                    
                                                                                
  Path            protractor > webdriver-js-extender > selenium-webdriver >     
                  xml2js > xmlbuilder > lodash                                  
                                                                                
  More info       https://nodesecurity.io/advisories/577                        
                                                                                


                                                                                
                                 Manual Review                                  
             Some vulnerabilities require your attention to resolve             
                                                                                
          Visit https://go.npm.me/audit-guide for additional guidance           
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   node-sass                                                     
                                                                                
  Path            node-sass > node-gyp > request > hawk > boom > hoek           
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   node-sass                                                     
                                                                                
  Path            node-sass > node-gyp > request > hawk > cryptiles > boom >    
                  hoek                                                          
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   node-sass                                                     
                                                                                
  Path            node-sass > node-gyp > request > hawk > hoek                  
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   node-sass                                                     
                                                                                
  Path            node-sass > node-gyp > request > hawk > sntp > hoek           
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   node-sass                                                     
                                                                                
  Path            node-sass > request > hawk > boom > hoek                      
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   node-sass                                                     
                                                                                
  Path            node-sass > request > hawk > cryptiles > boom > hoek          
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   node-sass                                                     
                                                                                
  Path            node-sass > request > hawk > hoek                             
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   node-sass                                                     
                                                                                
  Path            node-sass > request > hawk > sntp > hoek                      
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > hipchat-notifier > request > hawk > boom >   
                  hoek                                                          
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > hipchat-notifier > request > hawk >          
                  cryptiles > boom > hoek                                       
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > hipchat-notifier > request > hawk > hoek     
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > hipchat-notifier > request > hawk > sntp >   
                  hoek                                                          
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > loggly > request > hawk > boom > hoek        
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > loggly > request > hawk > cryptiles > boom   
                  > hoek                                                        
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > loggly > request > hawk > hoek               
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > loggly > request > hawk > sntp > hoek        
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > slack-node > requestretry > request > hawk   
                  > boom > hoek                                                 
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > slack-node > requestretry > request > hawk   
                  > cryptiles > boom > hoek                                     
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > slack-node > requestretry > request > hawk   
                  > hoek                                                        
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > slack-node > requestretry > request > hawk   
                  > sntp > hoek                                                 
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   protractor                                                    
                                                                                
  Path            protractor > webdriver-manager > request > hawk > boom >      
                  hoek                                                          
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   protractor                                                    
                                                                                
  Path            protractor > webdriver-manager > request > hawk > cryptiles   
                  > boom > hoek                                                 
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   protractor                                                    
                                                                                
  Path            protractor > webdriver-manager > request > hawk > hoek        
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Prototype pollution                                           
                                                                                
  Package         hoek                                                          
                                                                                
  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3                                   
                                                                                
  Dependency of   protractor                                                    
                                                                                
  Path            protractor > webdriver-manager > request > hawk > sntp >      
                  hoek                                                          
                                                                                
  More info       https://nodesecurity.io/advisories/566                        
                                                                                
                                                                                
  Moderate        Memory Exposure                                               
                                                                                
  Package         tunnel-agent                                                  
                                                                                
  Patched in      >=0.6.0                                                       
                                                                                
  Dependency of   node-sass                                                     
                                                                                
  Path            node-sass > node-gyp > request > tunnel-agent                 
                                                                                
  More info       https://nodesecurity.io/advisories/598                        
                                                                                
                                                                                
  Moderate        Memory Exposure                                               
                                                                                
  Package         tunnel-agent                                                  
                                                                                
  Patched in      >=0.6.0                                                       
                                                                                
  Dependency of   node-sass                                                     
                                                                                
  Path            node-sass > request > tunnel-agent                            
                                                                                
  More info       https://nodesecurity.io/advisories/598                        
                                                                                
                                                                                
  Moderate        Memory Exposure                                               
                                                                                
  Package         tunnel-agent                                                  
                                                                                
  Patched in      >=0.6.0                                                       
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > hipchat-notifier > request > tunnel-agent    
                                                                                
  More info       https://nodesecurity.io/advisories/598                        
                                                                                
                                                                                
  Moderate        Memory Exposure                                               
                                                                                
  Package         tunnel-agent                                                  
                                                                                
  Patched in      >=0.6.0                                                       
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > loggly > request > tunnel-agent              
                                                                                
  More info       https://nodesecurity.io/advisories/598                        
                                                                                
                                                                                
  Moderate        Memory Exposure                                               
                                                                                
  Package         tunnel-agent                                                  
                                                                                
  Patched in      >=0.6.0                                                       
                                                                                
  Dependency of   karma                                                         
                                                                                
  Path            karma > log4js > slack-node > requestretry > request >        
                  tunnel-agent                                                  
                                                                                
  More info       https://nodesecurity.io/advisories/598                        
                                                                                
                                                                                
  Moderate        Memory Exposure                                               
                                                                                
  Package         tunnel-agent                                                  
                                                                                
  Patched in      >=0.6.0                                                       
                                                                                
  Dependency of   protractor                                                    
                                                                                
  Path            protractor > webdriver-manager > request > tunnel-agent       
                                                                                
  More info       https://nodesecurity.io/advisories/598                        
                                                                                
                                                                                
  High            Regular Expression Denial of Service                          
                                                                                
  Package         minimatch                                                     
                                                                                
  Patched in      >=3.0.2                                                       
                                                                                
  Dependency of   gulp [dev]                                                    
                                                                                
  Path            gulp > vinyl-fs > glob-stream > glob > minimatch              
                                                                                
  More info       https://nodesecurity.io/advisories/118                        
                                                                                
                                                                                
  Low             Prototype Pollution                                           
                                                                                
  Package         lodash                                                        
                                                                                
  Patched in      >=4.17.5                                                      
                                                                                
  Dependency of   cordova-android                                               
                                                                                
  Path            cordova-android > cordova-common > plist > xmlbuilder >       
                  lodash                                                        
                                                                                
  More info       https://nodesecurity.io/advisories/577                        
                                                                                
                                                                                
  Low             Prototype Pollution                                           
                                                                                
  Package         lodash                                                        
                                                                                
  Patched in      >=4.17.5                                                      
                                                                                
  Dependency of   cordova-custom-config                                         
                                                                                
  Path            cordova-custom-config >                                       
                  cf59bc2dc96d4964892125f75b8aa3b070b52a99172f15453414344c57b…  
                  > xmlbuilder > lodash                                         
                                                                                
  More info       https://nodesecurity.io/advisories/577                        
                                                                                
                                                                                
  Low             Regular Expression Denial of Service                          
                                                                                
  Package         timespan                                                      
                                                                                
  Patched in      No patch available                                            
                                                                                
  Dependency of   karma [dev]                                                   
                                                                                
  Path            karma > log4js > loggly > timespan                            
                                                                                
  More info       https://nodesecurity.io/advisories/533                        
                                                                                

[!] 39 vulnerabilities found - Packages audited: 8116 (6910 dev, 893 optional)
    Severity: 5 Low | 30 Moderate | 4 High

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.