forked from bavuongco10/react-native-share
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* master-base: (215 commits) Update react-native to 0.61.4 (react-native-share#637) Update and fix Gradle setup (react-native-share#588) set useNativeDriver explicitly for Animations (react-native-share#633) correctly type image source (react-native-share#632) ci(fix): adapt to new workflow (react-native-share#626) fix: added missing "v" to `source` field in podspec (react-native-share#619) chore(readme): mocking with Jest example (react-native-share#610) iOS 13: Resolve promise if ShareSheet is manually dismissed (react-native-share#607) Update README.md fix: remove uncessary tools replace on build gradle chore(lint): fixing lint errors Makes sharing with Snapchat work on Android (react-native-share#464) Fixed validate error Removed react-native Share dependency Only call successCallback when completed is true Change readme.md Update Gradle wrapper to 5.6.2 build(deps): bump eslint-utils from 1.4.0 to 1.4.2 (react-native-share#580) Send email to predefined email address - Example Send email to predefined email address ...
- Loading branch information
Showing
128 changed files
with
19,373 additions
and
727 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
version: 2 | ||
executorType: docker | ||
jobs: | ||
build-app: | ||
resource_class: medium | ||
environment: | ||
- GRADLE_OPTS: '-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-Xmx3072m -XX:+HeapDumpOnOutOfMemoryError"' | ||
- REACT_NATIVE_MAX_WORKERS: 2 | ||
- ANDROID_BUILD_TOOLS_VERSION: '28.0.3' | ||
working_directory: ~/app | ||
docker: | ||
- image: reactnativecommunity/react-native-android | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-npm-{{ .Branch }}-{{ checksum "yarn.lock" }} | ||
- v1-npm | ||
- run: | ||
name: Install Dependencies | ||
command: yarn install --frozen-lockfile --non-interactive | ||
- save_cache: | ||
key: v1-npm | ||
paths: | ||
- node_modules/ | ||
- save_cache: | ||
key: v1-npm-{{ .Branch }}-{{ checksum "yarn.lock" }} | ||
paths: | ||
- node_modules/ | ||
- run: | ||
name: Lint | ||
command: yarn lint | ||
- restore_cache: | ||
keys: | ||
- v1-gradle-{{ checksum "android/gradle/wrapper/gradle-wrapper.properties" }}-{{ checksum "example/android/gradle/wrapper/gradle-wrapper.properties" }} | ||
- v1-gradle-wrapper | ||
- restore_cache: | ||
keys: | ||
- v1-gradle-cache-{{ checksum "android/build.gradle" }}-{{ checksum "example/android/build.gradle" }} | ||
- v1-gradle-cache | ||
- run: | ||
name: Run Checks | ||
command: | | ||
cd android | ||
chmod +x ./gradlew | ||
./gradlew clean && ./gradlew && ./gradlew check | ||
- store_artifacts: | ||
path: android/build/reports | ||
- run: | ||
name: Install dependencies of the example app | ||
command: cd example && yarn install --frozen-lockfile --non-interactive | ||
- run: | ||
name: Check for errors in the example app using Flow | ||
command: | | ||
cd example && yarn flow | ||
- run: | ||
name: Build Sample App | ||
command: | | ||
cd example/android && chmod +x ./gradlew && ./gradlew build | ||
- store_artifacts: | ||
path: example/android/app/build/reports | ||
destination: app | ||
- save_cache: | ||
key: v1-gradle-wrapper-{{ checksum "example/android/gradle/wrapper/gradle-wrapper.properties" }} | ||
paths: | ||
- ~/.gradle/wrapper | ||
- save_cache: | ||
key: v1-gradle-cache-{{ checksum "example/android/build.gradle" }} | ||
paths: | ||
- ~/.gradle/caches | ||
workflows: | ||
version: 2 | ||
build-and-lint-app: | ||
jobs: | ||
- build-app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
example/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"jest": true, | ||
"es6": true, | ||
}, | ||
"plugins": [ | ||
"react", | ||
"react-native", | ||
"flowtype", | ||
"import" | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"modules": true | ||
} | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"plugin:import/errors", | ||
"@react-native-community" | ||
|
||
], | ||
"settings": { | ||
"import/resolver": { | ||
"node": { | ||
"extensions":[ | ||
".js", | ||
".android.js", | ||
".ios.js", | ||
".json" | ||
] | ||
} | ||
} | ||
}, | ||
"globals": { | ||
"__DEV__": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ignore] | ||
.*/example/.* | ||
|
||
[include] | ||
|
||
[libs] | ||
|
||
[lints] | ||
|
||
[options] | ||
server.max_workers=4 | ||
|
||
[untyped] | ||
.*/node_modules/.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: 🐛 Report a bug | ||
about: Report a reproducible or regression bug. | ||
labels: 'bug' | ||
--- | ||
|
||
### Steps to reproduce | ||
1. | ||
2. | ||
3. | ||
|
||
### Expected behaviour | ||
Tell us what should happen | ||
|
||
### Actual behaviour | ||
Tell us what happens instead | ||
|
||
### Environment | ||
- **React Native version**: | ||
- **React Native platform + platform version**: iOS 9.0, Android 5.0, etc | ||
|
||
### react-native-share | ||
**Version**: npm version or "master" | ||
|
||
### Link to repo (highly encouraged) | ||
https://github.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: ✨ Feature request | ||
about: Suggest an idea. | ||
labels: 'enhancement' | ||
--- | ||
|
||
## Describe the Feature | ||
<!-- Describe the requested Feature --> | ||
|
||
## Possible Implementations | ||
<!-- Describe how to implement the feature --> | ||
|
||
## Related Issues | ||
<!-- Link related issues here --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
name: 💬 Question | ||
about: You need help with the library. | ||
labels: 'question' | ||
--- | ||
|
||
## Ask your Question | ||
<!-- Ask your question --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Overview | ||
<!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. --> | ||
<!-- Help us understand your motivation by explaining why you decided to make this change --> | ||
|
||
|
||
# Test Plan | ||
<!-- Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. --> | ||
<!-- Bonus points for screenshots and videos! Increase test coverage whenever possible. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Configuration for probot-stale based on: https://github.com/facebook/react-native/blob/master/.github/stale.yml | ||
|
||
# Number of days of inactivity before an Issue or Pull Request becomes stale | ||
daysUntilStale: 60 | ||
|
||
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. | ||
daysUntilClose: 7 | ||
|
||
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable | ||
exemptLabels: | ||
- pinned | ||
- security | ||
- discussion | ||
- good first issue | ||
- good first issue | ||
- "help wanted" | ||
|
||
# Set to true to ignore issues in a project (defaults to false) | ||
exemptProjects: false | ||
|
||
# Set to true to ignore issues in a milestone (defaults to false) | ||
exemptMilestones: false | ||
|
||
# Set to true to ignore issues with an assignee (defaults to false) | ||
exemptAssignees: false | ||
|
||
# Label to use when marking as stale | ||
staleLabel: stale | ||
|
||
# Comment to post when marking as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. You may also mark this issue as a "discussion" and i | ||
will leave this open. | ||
# Comment to post when closing a stale Issue or Pull Request. | ||
closeComment: > | ||
Closing this issue after a prolonged period of inactivity. Fell free to reopen | ||
this issue, if this still affecting you. | ||
# Limit the number of actions per hour, from 1-30. Default is 30 | ||
limitPerRun: 30 | ||
|
||
# Limit to only `issues` or `pulls` | ||
only: issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
example/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
#### 1.2.1-5 (2019-05-29) | ||
|
||
##### Chores | ||
|
||
* **codeowners:** add CODEOWNERS file ([ac67e5cd](https://github.com/react-native-community/react-native-share/commit/ac67e5cd9531e5d554b7b9ac0217c777e4d8f9c4)) | ||
|
||
### 1.2.0-4 (2019-05-26) | ||
|
||
##### Build System / Dependencies | ||
|
||
* fix all deprecation and lint in ShareFile(s) ([#374](https://github.com/react-native-community/react-native-share/pull/374)) ([67fb59e9](https://github.com/react-native-community/react-native-share/commit/67fb59e9dc7ec9f98ad76f6809dbc98d240c451e)) | ||
|
||
##### Chores | ||
|
||
* **npmignore:** | ||
* add .github folder to npmignore ([fc219481](https://github.com/react-native-community/react-native-share/commit/fc2194818c7dba4dd913dd5c65564113ef575a6a)) | ||
* add changelog.js ([8256431b](https://github.com/react-native-community/react-native-share/commit/8256431be2526a55b625b72f4727d8dd8af20aee)) | ||
* **changelog:** update changelog.js ([85a91b05](https://github.com/react-native-community/react-native-share/commit/85a91b05993eaaf5e897815029bf58d0944ed3cb)) | ||
* Adding instructions about how use the master branch ([c1c58b87](https://github.com/react-native-community/react-native-share/commit/c1c58b876b718bce033593ad52e7fc62fdb32065)) | ||
* update iOS target to 9.0 to match react-native min version ([f72dbe1a](https://github.com/react-native-community/react-native-share/commit/f72dbe1a44105a0d04f3af03a7556ea123024493)) | ||
|
||
##### New Features | ||
|
||
* **deps:** update deps and prepare for release ([#501](https://github.com/react-native-community/react-native-share/pull/501)) ([05c2b6a1](https://github.com/react-native-community/react-native-share/commit/05c2b6a1aeb74853ef16265f690b3ba48cd0198f)) | ||
|
||
#### 1.1.3-3 (2018-10-23) | ||
|
||
##### Build System / Dependencies | ||
|
||
* reverse dep order, google then jcenter ([#387](https://github.com/react-native-community/react-native-share/pull/387)) ([2c91ecce](https://github.com/react-native-community/react-native-share/commit/2c91ecceda3abe182fa500a6bcd2b09e0b5fd4e5)) | ||
* upgrade android dependencies, example depend on upstream ([#373](https://github.com/react-native-community/react-native-share/pull/373)) ([28e62b15](https://github.com/react-native-community/react-native-share/commit/28e62b1526b2242a474b9b7f3a4dd213d2ec3554)) | ||
|
||
##### Bug Fixes | ||
|
||
* **classes-not-exported:** fix classes not exported warning ([540aa8fe](https://github.com/react-native-community/react-native-share/commit/540aa8fe68ede1ac4bfa79698dabe78448b59cc3)) | ||
|
||
#### 1.1.2-2 (2018-09-12) | ||
|
||
#### 1.1.1-1 (2018-08-07) | ||
|
||
##### New Features | ||
|
||
* **issue-template:** add issue template ([fde759f8](https://github.com/react-native-community/react-native-share/commit/fde759f8412687d7a70a1fca1a848839fb57df51)) | ||
|
||
#### 1.1.0 (2018-07-25) | ||
|
||
##### Build System / Dependencies | ||
|
||
* **idx:** add idx as dev dep and improve flow ([eba00817](https://github.com/react-native-community/react-native-share/commit/eba008177c0157f606c14fb13305039dc3058576)) | ||
|
||
##### Chores | ||
|
||
* **readme:** update readme with circle ci status badge ([1a789ffe](https://github.com/react-native-community/react-native-share/commit/1a789ffe51f73a50775d49da1687dbe677faae18)) | ||
|
||
##### New Features | ||
|
||
* **README:** add pagesmanager only android ([cb206d64](https://github.com/react-native-community/react-native-share/commit/cb206d643913c292b668a8b651580c83a77ccfd7)) | ||
* **gradle-3:** | ||
* fix circle script ([5c20929d](https://github.com/react-native-community/react-native-share/commit/5c20929d8fb51fbe08a2bef7d39fd5cb985f39aa)) | ||
* rollback compile and add gradlew clean to circle ([c4bece4f](https://github.com/react-native-community/react-native-share/commit/c4bece4f9a16624a9ef357a5aa7162563ae684ac)) | ||
* rollback to compile ([32217f7f](https://github.com/react-native-community/react-native-share/commit/32217f7f60d9fc8dd07b924b928f8070f30f6b68)) | ||
* fix build.gradle ([6544b5b5](https://github.com/react-native-community/react-native-share/commit/6544b5b5263a337a5c64df3cedd73bf98ae6d6c1)) | ||
* add gradle ([73ed033d](https://github.com/react-native-community/react-native-share/commit/73ed033debdd7f76e53e87866512e57a60dd2fc3)) | ||
* **circl-flow-eslint:** | ||
* fix circle ci yml file name ([2983b13a](https://github.com/react-native-community/react-native-share/commit/2983b13abf61ad3baf9bf7e98074cc4890ea1d87)) | ||
* fix circle ci yml file name ([7d78542d](https://github.com/react-native-community/react-native-share/commit/7d78542d2f563e068cba7f515fa6eed2d56a6406)) | ||
* **circle-flow-eslint:** first atempt add circle, add flow, eslint and prettier ([44ac820e](https://github.com/react-native-community/react-native-share/commit/44ac820e77bc90f331490320a509a52d630272b2)) | ||
* **social:** add social facebook pages manager ([2537d3fe](https://github.com/react-native-community/react-native-share/commit/2537d3fe8104972014716535ffcdbc3157cb56c0)) | ||
* update format ([a32ed6cd](https://github.com/react-native-community/react-native-share/commit/a32ed6cd5a13b90293c6e79c239b16085be52104)) | ||
* update readme for url format ([dda13853](https://github.com/react-native-community/react-native-share/commit/dda138536f5d7f27236e95274698cb2766fbfdfe)) | ||
|
||
##### Bug Fixes | ||
|
||
* **changelog:** fallback changelog script ([b635de04](https://github.com/react-native-community/react-native-share/commit/b635de044ce3931a85156fe3c5a23b67c98f0317)) | ||
* **flow:** use Node and add CHANGELOG.md ([ed6fcd32](https://github.com/react-native-community/react-native-share/commit/ed6fcd32d398968de7b07dafb6d736ade10525d7)) | ||
* **social:** rename file FacebookPagesManager to FacebookPagesManagerShare ([ac25bcad](https://github.com/react-native-community/react-native-share/commit/ac25bcad51a2ae9e0b1b2658de66d1cc06ab83f6)) | ||
|
||
##### Other Changes | ||
|
||
* version ([3f01bb15](https://github.com/react-native-community/react-native-share/commit/3f01bb15f45f684ece157cb00b5c1c10383975ba)) | ||
* version ([a708692c](https://github.com/react-native-community/react-native-share/commit/a708692ca18102f84c7012edc4c7460a131cef92)) | ||
* version ([77f4d80a](https://github.com/react-native-community/react-native-share/commit/77f4d80acc750a0edd179e85c3e4e9847c42dca6)) | ||
* google plus sharing android ([7c6a65f7](https://github.com/react-native-community/react-native-share/commit/7c6a65f76819020d55ca6d95320b0cb1d0060849)) | ||
* version 1.0.23 ([9a9f94dd](https://github.com/react-native-community/react-native-share/commit/9a9f94ddbf5a33c9d7afba669dfae73773fe86b2)) | ||
* version ([672d6962](https://github.com/react-native-community/react-native-share/commit/672d6962c006e9b52a0a889ce9ff958734f84070)) | ||
* email share ([1faeac79](https://github.com/react-native-community/react-native-share/commit/1faeac7914bf1437a7c289bd3922de4fd5e35db4)) | ||
* local files shared in android ([797dc89c](https://github.com/react-native-community/react-native-share/commit/797dc89cb7368011ccda74c4b7ff585186e9304a)) | ||
|
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @jgcmarins @MateusAndrade @mikehardy |
Oops, something went wrong.