{"id":20794812,"url":"https://github.com/code-star/ng2-react-native","last_synced_at":"2026-04-25T13:03:48.499Z","repository":{"id":91341657,"uuid":"58713873","full_name":"code-star/ng2-react-native","owner":"code-star","description":null,"archived":false,"fork":false,"pushed_at":"2016-05-13T13:25:23.000Z","size":223,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-12-26T02:32:11.811Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code-star.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-13T07:43:28.000Z","updated_at":"2016-05-13T11:24:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd797f51-f475-4f6b-80ed-4d93d5b82b34","html_url":"https://github.com/code-star/ng2-react-native","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/code-star/ng2-react-native","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-star%2Fng2-react-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-star%2Fng2-react-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-star%2Fng2-react-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-star%2Fng2-react-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-star","download_url":"https://codeload.github.com/code-star/ng2-react-native/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-star%2Fng2-react-native/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32262801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T16:17:49.378Z","updated_at":"2026-04-25T13:03:48.494Z","avatar_url":"https://github.com/code-star.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# R\u0026D Day project - Angular2 + React-native\n\nMobile app development with [Angular2 and react-native](https://angularjs.blogspot.nl/2016/04/angular-2-react-native.html)\n\n## General documentation\nhttp://angular.github.io/react-native-renderer/\n\n## Preparing your environment\n* Set up React Native for iOS and/or Android following [Getting started](https://facebook.github.io/react-native/docs/getting-started.html) and [Android setup](https://facebook.github.io/react-native/docs/android-setup.htmlt)\n* Clone this repository or a fork of it\n* Install Gulp, React Native CLI  and Typings globally: `npm install -g gulp react-native-cli typings`\n* Install local npm modules: `npm install`\n\n## Running scripts\n\nCreating the sample project:\n* `gulp init` to create the react-native project\n\nAndroid:\n* `gulp start.android` to launch the sample on the connected device or emulator, and watch sources for auto update (if enabled in F2/shake dev menu)\n*use the `Reload JS` button after the initial red screen*\n\niOS:\n* `gulp start.ios` to launch the sample on an emulator, and watch sources for auto update (it will fail the first due to initial compilation, simply restart it)\n* OR, `gulp watch` and  open `.dist/app/ngReactNative/ios/ngReactNative.xcodeproj` in Xcode and hit `Run`\n\n## Running unit tests\n`gulp test.browser` to run tests in Chrome\n\n## Running e2e tests\ne2e tests are run with Protractor and Appium which need to be installed globally: `npm install -g protractor appium`\n\nThey can be run in dev mode or in CI mode.\nThe CI mode is slow as it builds a full standalone application, but can be used in SauceLabs.\n\n\n### iOS\n\n#### Dev mode\nOpen 3 terminals and then:\n* In the first: `appium`\n* In the second: `gulp start.ios`, wait for the application to be fully loaded\n* In the third: `protractor protractor.conf.ios.dev.js`\nYou can modify the application or the tests, and run protractor again.\n\n#### CI mode\nInstall xctool: `brew install xctool`\nBuild the application: `./scripts/build_app_ios.sh`  \nThen open 2 terminals:\n* In the first: `appium`\n* In the second: `protractor protractor.conf.ios.ci.js`\n\n\n### Android\n***Experimental for now, a hack is needed in Protractor for now (remove call to `driver.manage().timeouts().setScriptTimeout(...)` in `lib/runner.js`)***\n\n**In the configuration of the virtual device, make sure that the checkbox `Use the Host GPU` is active**\n\n#### Dev mode\nOpen 3 terminals and then:\n* In the first: `appium`\n* In the second: `gulp start.android`, wait for the application to be fully loaded\n* In the third: `protractor protractor.conf.android.dev.js`\n\nYou can modify the application or the tests, and run protractor again.\n\n\n#### CI mode\nBuild the application: `./scripts/build_app_android.sh`\nThen open 2 terminals:\n* In the first: `appium`\n* In the second: `protractor protractor.conf.android.ci.js`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-star%2Fng2-react-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-star%2Fng2-react-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-star%2Fng2-react-native/lists"}