-
Notifications
You must be signed in to change notification settings - Fork 169
Android Svg Support #652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Android Svg Support #652
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
bb7ea00
added svg, transformer to android
tamasane97 9a61847
base64 svgs do not load, font files do not link
tamasane97 6f96a1b
Change files
tamasane97 8bcbae7
bump package versions manually
tamasane97 32099d1
Change files
tamasane97 fc9fc28
upgrade react-native-svg
tamasane97 0ae0db2
Change files
tamasane97 ca4d036
revert 'bump package versions manually'
tamasane97 dd226c3
Merge branch 'master' into android-icon
tamasane97 59ff00b
Change files
tamasane97 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,28 @@ | ||
| buildscript { | ||
| ext.kotlin_version = "1.3.72" | ||
| repositories { | ||
| google() | ||
| jcenter() | ||
| mavenCentral() | ||
| } | ||
| dependencies { | ||
| classpath "com.android.tools.build:gradle:4.0.1" | ||
| classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
| // NOTE: Do not place your application dependencies here; they belong | ||
| // in the individual module build.gradle files | ||
| } | ||
| } | ||
| allprojects { | ||
| repositories { | ||
| maven { | ||
| // All of React Native (JS, Android binaries) is installed from npm | ||
| url "$rootDir/../../../node_modules/react-native/android" | ||
| } | ||
| maven { | ||
| // Android JSC is installed from npm | ||
| url("$rootDir/../../../node_modules/jsc-android/dist") | ||
| } | ||
| google() | ||
| jcenter() | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
8 changes: 8 additions & 0 deletions
8
change/@fluentui-react-native-2021-04-08-04-27-08-android-icon.json
This file contains hidden or 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 @@ | ||
| { | ||
| "type": "patch", | ||
| "comment": "upgrade react-native-svg", | ||
| "packageName": "@fluentui/react-native", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch", | ||
| "date": "2021-04-07T22:56:51.842Z" | ||
| } |
8 changes: 8 additions & 0 deletions
8
change/@fluentui-react-native-android-theme-2021-04-08-04-27-08-android-icon.json
This file contains hidden or 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 @@ | ||
| { | ||
| "type": "patch", | ||
| "comment": "upgrade react-native-svg", | ||
| "packageName": "@fluentui-react-native/android-theme", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch", | ||
| "date": "2021-04-07T22:57:08.820Z" | ||
| } |
8 changes: 8 additions & 0 deletions
8
change/@fluentui-react-native-experimental-avatar-2021-04-08-04-27-08-android-icon.json
This file contains hidden or 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 @@ | ||
| { | ||
| "type": "patch", | ||
| "comment": "Add the rainbow gradient border image test case to experimental avatar (#654)", | ||
| "packageName": "@fluentui-react-native/experimental-avatar", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch", | ||
| "date": "2021-04-07T22:56:31.314Z" | ||
| } |
8 changes: 8 additions & 0 deletions
8
change/@fluentui-react-native-radio-group-2021-04-08-04-27-08-android-icon.json
This file contains hidden or 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 @@ | ||
| { | ||
| "type": "patch", | ||
| "comment": "Update Radio Button focus border style to be WCAG 2.1 compliant (#653)", | ||
| "packageName": "@fluentui-react-native/radio-group", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch", | ||
| "date": "2021-04-07T22:56:22.212Z" | ||
| } |
8 changes: 8 additions & 0 deletions
8
change/@fluentui-react-native-tester-2021-04-01-13-41-56-android-icon.json
This file contains hidden or 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 @@ | ||
| { | ||
| "type": "minor", | ||
| "comment": "added svg, transformer to android", | ||
| "packageName": "@fluentui-react-native/tester", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch", | ||
| "date": "2021-04-01T08:11:56.684Z" | ||
| } |
8 changes: 8 additions & 0 deletions
8
change/@fluentui-react-native-tester-win32-2021-04-05-15-06-01-android-icon.json
This file contains hidden or 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 @@ | ||
| { | ||
| "type": "patch", | ||
| "comment": "upgrade react-native-svg", | ||
| "packageName": "@fluentui-react-native/tester-win32", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch", | ||
| "date": "2021-04-05T09:36:01.397Z" | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amgleitman Any chance needing this might be the reason we couldn't get it working for iOS/macOS?