{"id":27770710,"url":"https://github.com/minds/mobile-native","last_synced_at":"2025-04-29T21:14:50.082Z","repository":{"id":37444629,"uuid":"126921995","full_name":"Minds/mobile-native","owner":"Minds","description":"mirror of https://gitlab.com/minds/mobile-native","archived":false,"fork":false,"pushed_at":"2025-04-29T09:33:14.000Z","size":63825,"stargazers_count":99,"open_issues_count":34,"forks_count":35,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-29T21:14:44.317Z","etag":null,"topics":["android","ios","minds","open-source","react-native","social-media","social-network"],"latest_commit_sha":null,"homepage":"https://minds.com","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Minds.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2018-03-27T03:14:02.000Z","updated_at":"2025-04-17T17:22:50.000Z","dependencies_parsed_at":"2024-01-22T14:47:52.649Z","dependency_job_id":"d3105fbd-2a48-4492-b915-99123062c075","html_url":"https://github.com/Minds/mobile-native","commit_stats":null,"previous_names":[],"tags_count":69,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2Fmobile-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2Fmobile-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2Fmobile-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2Fmobile-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Minds","download_url":"https://codeload.github.com/Minds/mobile-native/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251582942,"owners_count":21612747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["android","ios","minds","open-source","react-native","social-media","social-network"],"created_at":"2025-04-29T21:14:49.475Z","updated_at":"2025-04-29T21:14:50.067Z","avatar_url":"https://github.com/Minds.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minds Mobile Apps\n\n## Install\n\nClone mobile\\\n`git clone git@gitlab.com:minds/mobile-native.git`\n\nClone locale\\\n`cd ..`\n\n`git clone git@gitlab.com:minds/l10n.git`\n\n`cd -`\n\n## Branch Structure\n\n| Branch     |                                                                                                                                    |\n| ---------- | ---------------------------------------------------------------------------------------------------------------------------------- |\n| master     | Approved code ready to merged into the next stable release. All tests should pass and be in a 'ready' state                        |\n| stable/\\*  | Stable builds, inherited from `release/*` branches. Fastlane automatically deploys these builds.                                   |\n| test/\\*    | Release candidate builds, inherited from `release/*` branches. Fastlane automatically deploys these builds.                        |\n| release/\\* | WIP builds. Run `fastlane run increment_version_number` upon creating the branch.                                                  |\n| feat/\\*    | New branches should be made for each Gitlab issue. Merge requests should be opened pointing towards the respective release branch. |\n\n## Increasing the version number\n\n### Patch\n\n`fastlane run increment_version_number bump_type:patch`\n\n### Minor\n\n`fastlane run increment_version_number bump_type:minor`\n\n### Major\n\n`fastlane run increment_version_number bump_type:major`\n\n## Platforms\n\n- iOS\n- Android\n\n## Install dependencies\n\n- `yarn install`\n- `cd ios \u0026\u0026 pod install` (iOS only)\n\n## Building\n\n- `npx expo run:android` or `npx expo run:ios`\n\n## Testing\n\n- `yarn test`\n\n## Testing e2e (macOS)\n\nInstall the detox cli\n\n- `brew tap wix/brew`\n- `brew install applesimutils`\n- `yarn global add detox-cli`\n\nRun the tests\n\n- `detox build -c ios.sim.debug`\n- `detox test -c ios.sim.debug`\n\nYou can use -c ios.sim.release for e2e test a production build\n\n### Building Android releases\n\n#### Setup your environment variables\n\n`export ANDROID_KEYSTORE=`\n\n`export KEYSTORE_PASSWORD=`\n\n`export SENTRY_ANDROID_PROPERTIES=`\n\n#### Build\n\n1. Build the app\n\n`cd android \u0026\u0026 fastlane assemble_build \u0026\u0026 cd ..`\n\n2. Push to s3\n\n`aws s3 cp android/app/build/outputs/apk/release/app-release.apk s3://minds-repo/android/Minds-stable-4-8-2.apk`\n\n3. Update the releases.json\n\n`yarn release-json android/app/build/outputs/apk/release/app-release.apk`\n\n4. Verify the release name is correct in ./releases.json\n\n5. Upload the releases.json changes\n\n`aws s3 cp releases.json s3://minds-repo/android/releases/releases.json`\n\n#### Custom Release\n\nOnce the file is generated in the CI download the apk and run:\n\n`yarn release-json path/file.apk`\n\nThis will update the release.json with this version data\n\nNote: You have to update the change-log for the version!\n\nUpload the file to s3 and that is it.\n\n## \u003cu\u003eRunning Webdriverio tests on BrowserStack\u003c/u\u003e:\n\n### \u003cu\u003eFeatures\u003c/u\u003e:\n\n- Platform: iOS \u0026 Android\n- Frontend Framework: WebdriverIO Node.js\n- Frontend Testing Framework: Jasmine\n- Reporter: Spec\n- Integrations: BrowserStack Real Devices, CI (TBD) \u0026 Suite Setup (TBD)\n\n### \u003cu\u003eDependencies\u003c/u\u003e:\n\n#### _Pre-requisites_: Install latest version of Node and create environment variables.\n\n#### _Node_: https://nodejs.org/en/download/\n\n#### _Environment variables for WebdriverIO Tests_:\n\nUSERNAME \u0026 PASSWORD\n\n#### _Environment variables for BrowserStack Connection_:\n\nBROWSERSTACK_USERNAME, BROWSERSTACK_ACCESS_KEY, BROWSERSTACK_IOS_APP_ID \u0026 BROWSERSTACK_ANDROID_APP_ID\n\n### \u003cu\u003eRun Command\u003c/u\u003e:\n\n#### Run this command within the project to install all package.json dependencies:\n\n```\nyarn\n```\n\n#### Run the command below to execute automation on BrowserStack iOS \u0026 Android real devices respectively:\n\n```\nyarn run e2e:ios:browserstack\nyarn run e2e:android:browserstack\n```\n\n##### _Copyright Minds 2022_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminds%2Fmobile-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminds%2Fmobile-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminds%2Fmobile-native/lists"}