Skip to content

Commit

Permalink
Add our first *.riv file made in house
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnplb committed Apr 22, 2024
1 parent 4cfc33c commit cdfea55
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 4 deletions.
Binary file not shown.
4 changes: 4 additions & 0 deletions example/android/link-assets-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@
{
"path": "assets/fonts/DMMono/DMMono-Medium.ttf",
"sha1": "0ceec76262c08cec6c956e1ffe2bfc60321e8f58"
},
{
"path": "assets/animated-pictograms/umbrella.riv",
"sha1": "60b9b7f80dace88630bc26fecee60a33ed85aeb0"
}
]
}
Binary file added example/assets/animated-pictograms/umbrella.riv
Binary file not shown.
4 changes: 4 additions & 0 deletions example/ios/ExampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
E8EF3336542140A88B10BFF7 /* TitilliumWeb-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 16CF61663EAF4B46B3B81980 /* TitilliumWeb-Regular.ttf */; };
EC846EA2DBCB4719B953F423 /* TitilliumSansPro-Thin-Italic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 3DE40C756739486AA1D51FCE /* TitilliumSansPro-Thin-Italic.otf */; };
ECADF86EA3F140C6A74EFA09 /* TitilliumSansPro-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = FBA458C5509E42A59CD6F632 /* TitilliumSansPro-Regular.otf */; };
1E4EFB88CD2C4972A59FCFFE /* umbrella.riv in Resources */ = {isa = PBXBuildFile; fileRef = D7FF5F5BF549432188423043 /* umbrella.riv */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -96,6 +97,7 @@
EC225F8C27DC4CB7A37B9FF3 /* TitilliumWeb-SemiBold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "TitilliumWeb-SemiBold.ttf"; path = "../assets/fonts/TitilliumWeb/TitilliumWeb-SemiBold.ttf"; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
FBA458C5509E42A59CD6F632 /* TitilliumSansPro-Regular.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "TitilliumSansPro-Regular.otf"; path = "../assets/fonts/TitilliumSansPro/TitilliumSansPro-Regular.otf"; sourceTree = "<group>"; };
D7FF5F5BF549432188423043 /* umbrella.riv */ = {isa = PBXFileReference; name = "umbrella.riv"; path = "../assets/animated-pictograms/umbrella.riv"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -219,6 +221,7 @@
3DE40C756739486AA1D51FCE /* TitilliumSansPro-Thin-Italic.otf */,
4FC6145EC4A14796982CAE22 /* TitilliumSansPro-Thin.otf */,
1CFF1D50D36F43F2BC0D124F /* LICENSE.txt */,
D7FF5F5BF549432188423043 /* umbrella.riv */,
);
name = Resources;
path = "";
Expand Down Expand Up @@ -357,6 +360,7 @@
EC846EA2DBCB4719B953F423 /* TitilliumSansPro-Thin-Italic.otf in Resources */,
116E6480B9914941A6254F71 /* TitilliumSansPro-Thin.otf in Resources */,
493FA456AB57478891021E84 /* LICENSE.txt in Resources */,
1E4EFB88CD2C4972A59FCFFE /* umbrella.riv in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
4 changes: 4 additions & 0 deletions example/ios/link-assets-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@
{
"path": "assets/fonts/DMMono/DMMono-Medium.ttf",
"sha1": "0ceec76262c08cec6c956e1ffe2bfc60321e8f58"
},
{
"path": "assets/animated-pictograms/umbrella.riv",
"sha1": "60b9b7f80dace88630bc26fecee60a33ed85aeb0"
}
]
}
3 changes: 2 additions & 1 deletion example/react-native.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
"./assets/fonts/TitilliumWeb",
"./assets/fonts/TitilliumSansPro",
"./assets/fonts/ReadexPro",
"./assets/fonts/DMMono"
"./assets/fonts/DMMono",
"./assets/animated-pictograms"
]
};
4 changes: 1 addition & 3 deletions example/src/pages/AnimatedPictograms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ export const AnimatedPictograms = () => (
Animated pictograms
</H2> */}
<Rive
url="https://public.rive.app/community/runtime-files/2195-4346-avatar-pack-use-case.riv"
artboardName="Avatar 1"
stateMachineName="avatar"
resourceName="umbrella"
style={{
aspectRatio: "1",
width: 200,
Expand Down

0 comments on commit cdfea55

Please sign in to comment.