Skip to content

Commit

Permalink
Font issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shyambhongle committed Apr 2, 2024
1 parent 0e3720b commit 3e01719
Show file tree
Hide file tree
Showing 15 changed files with 235 additions and 75 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
45 changes: 45 additions & 0 deletions android/link-assets-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"migIndex": 1,
"data": [
{
"path": "assets/fonts/OpenSans-Bold.ttf",
"sha1": "1e3704ee48b5ff7e582488ead87b05249f14dc1c"
},
{
"path": "assets/fonts/OpenSans-BoldItalic.ttf",
"sha1": "72068cc905085ca406e6391cc5021ac043689ade"
},
{
"path": "assets/fonts/OpenSans-ExtraBold.ttf",
"sha1": "5acb1de2513aca9ce4fcf5d1e1e49aad86f1888c"
},
{
"path": "assets/fonts/OpenSans-ExtraBoldItalic.ttf",
"sha1": "5e6be0eaf06fa67b53ec5c4d412dab0a6f5248ba"
},
{
"path": "assets/fonts/OpenSans-Italic.ttf",
"sha1": "b8d9f5ceb1e6b3a716dab0bdd09061bbc349b41e"
},
{
"path": "assets/fonts/OpenSans-Light.ttf",
"sha1": "bf0d133b628259eca01049d30fa6316094d00bcf"
},
{
"path": "assets/fonts/OpenSans-LightItalic.ttf",
"sha1": "f8b6e01898801a17b9bf11f6190347cd917c440d"
},
{
"path": "assets/fonts/OpenSans-Regular.ttf",
"sha1": "babe8dce93a3e48b6c3c79720a0c048e88dd1fe7"
},
{
"path": "assets/fonts/OpenSans-SemiBold.ttf",
"sha1": "e256f8391718ef61f253dfb4e95bbeb3c5857afc"
},
{
"path": "assets/fonts/OpenSans-SemiBoldItalic.ttf",
"sha1": "b59e91cb19bc660ffbe3bd12501b4781196a8312"
}
]
}
45 changes: 45 additions & 0 deletions ios/link-assets-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"migIndex": 1,
"data": [
{
"path": "assets/fonts/OpenSans-Bold.ttf",
"sha1": "1e3704ee48b5ff7e582488ead87b05249f14dc1c"
},
{
"path": "assets/fonts/OpenSans-BoldItalic.ttf",
"sha1": "72068cc905085ca406e6391cc5021ac043689ade"
},
{
"path": "assets/fonts/OpenSans-ExtraBold.ttf",
"sha1": "5acb1de2513aca9ce4fcf5d1e1e49aad86f1888c"
},
{
"path": "assets/fonts/OpenSans-ExtraBoldItalic.ttf",
"sha1": "5e6be0eaf06fa67b53ec5c4d412dab0a6f5248ba"
},
{
"path": "assets/fonts/OpenSans-Italic.ttf",
"sha1": "b8d9f5ceb1e6b3a716dab0bdd09061bbc349b41e"
},
{
"path": "assets/fonts/OpenSans-Light.ttf",
"sha1": "bf0d133b628259eca01049d30fa6316094d00bcf"
},
{
"path": "assets/fonts/OpenSans-LightItalic.ttf",
"sha1": "f8b6e01898801a17b9bf11f6190347cd917c440d"
},
{
"path": "assets/fonts/OpenSans-Regular.ttf",
"sha1": "babe8dce93a3e48b6c3c79720a0c048e88dd1fe7"
},
{
"path": "assets/fonts/OpenSans-SemiBold.ttf",
"sha1": "e256f8391718ef61f253dfb4e95bbeb3c5857afc"
},
{
"path": "assets/fonts/OpenSans-SemiBoldItalic.ttf",
"sha1": "b59e91cb19bc660ffbe3bd12501b4781196a8312"
}
]
}
49 changes: 49 additions & 0 deletions ios/treemapper.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@
A9F3103B2BA6D2B300E40C9F /* Mapbox in Frameworks */ = {isa = PBXBuildFile; productRef = 04C6006D64714B4C2D884342 /* Mapbox */; };
B18059E884C0ABDD17F3DC3D /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAC715A2D49A985799AEE119 /* ExpoModulesProvider.swift */; };
BB2F792D24A3F905000567C9 /* Expo.plist in Resources */ = {isa = PBXBuildFile; fileRef = BB2F792C24A3F905000567C9 /* Expo.plist */; };
26AE68C2AE9648BEA2EABD2B /* OpenSans-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 78525818F06C4C279276A6A9 /* OpenSans-Bold.ttf */; };
2DDCFB4F3E2A45E488058139 /* OpenSans-BoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 9A9F18BE19334FBA881E10B5 /* OpenSans-BoldItalic.ttf */; };
AE3FACB1D2A14ADA87ADE2A3 /* OpenSans-ExtraBold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 5E026EAEEAB94188A04BF56E /* OpenSans-ExtraBold.ttf */; };
3CA829B9B6A24454A7FFF229 /* OpenSans-ExtraBoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B34BFD7986064E7BB3840383 /* OpenSans-ExtraBoldItalic.ttf */; };
3F347EC1CEB0408D904CB1E2 /* OpenSans-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B04789EF9ABD4A33A957C268 /* OpenSans-Italic.ttf */; };
D961E7D61F824BCAA8F24D22 /* OpenSans-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 32762DBAA7724007B8F969EB /* OpenSans-Light.ttf */; };
E82D958B8FFC43828DECD74B /* OpenSans-LightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C1FAF8E95D3547589841E249 /* OpenSans-LightItalic.ttf */; };
8188029650F747EF828741F8 /* OpenSans-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 18A54E74C261464BA3046E60 /* OpenSans-Regular.ttf */; };
A9D859281C764225A1E09A23 /* OpenSans-SemiBold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7D00C502DE7845BD84E781CC /* OpenSans-SemiBold.ttf */; };
8DCA19BAE7804C369F7735B3 /* OpenSans-SemiBoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E172ECD9A7AF4938B71C70C7 /* OpenSans-SemiBoldItalic.ttf */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -34,6 +44,16 @@
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
F380561BD2434F668B56AB83 /* noop-file.swift */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 4; includeInIndex = 0; lastKnownFileType = sourcecode.swift; name = "noop-file.swift"; path = "treemapper/noop-file.swift"; sourceTree = "<group>"; };
FAC715A2D49A985799AEE119 /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-treemapper/ExpoModulesProvider.swift"; sourceTree = "<group>"; };
78525818F06C4C279276A6A9 /* OpenSans-Bold.ttf */ = {isa = PBXFileReference; name = "OpenSans-Bold.ttf"; path = "../assets/fonts/OpenSans-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
9A9F18BE19334FBA881E10B5 /* OpenSans-BoldItalic.ttf */ = {isa = PBXFileReference; name = "OpenSans-BoldItalic.ttf"; path = "../assets/fonts/OpenSans-BoldItalic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
5E026EAEEAB94188A04BF56E /* OpenSans-ExtraBold.ttf */ = {isa = PBXFileReference; name = "OpenSans-ExtraBold.ttf"; path = "../assets/fonts/OpenSans-ExtraBold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
B34BFD7986064E7BB3840383 /* OpenSans-ExtraBoldItalic.ttf */ = {isa = PBXFileReference; name = "OpenSans-ExtraBoldItalic.ttf"; path = "../assets/fonts/OpenSans-ExtraBoldItalic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
B04789EF9ABD4A33A957C268 /* OpenSans-Italic.ttf */ = {isa = PBXFileReference; name = "OpenSans-Italic.ttf"; path = "../assets/fonts/OpenSans-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
32762DBAA7724007B8F969EB /* OpenSans-Light.ttf */ = {isa = PBXFileReference; name = "OpenSans-Light.ttf"; path = "../assets/fonts/OpenSans-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
C1FAF8E95D3547589841E249 /* OpenSans-LightItalic.ttf */ = {isa = PBXFileReference; name = "OpenSans-LightItalic.ttf"; path = "../assets/fonts/OpenSans-LightItalic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
18A54E74C261464BA3046E60 /* OpenSans-Regular.ttf */ = {isa = PBXFileReference; name = "OpenSans-Regular.ttf"; path = "../assets/fonts/OpenSans-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
7D00C502DE7845BD84E781CC /* OpenSans-SemiBold.ttf */ = {isa = PBXFileReference; name = "OpenSans-SemiBold.ttf"; path = "../assets/fonts/OpenSans-SemiBold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
E172ECD9A7AF4938B71C70C7 /* OpenSans-SemiBoldItalic.ttf */ = {isa = PBXFileReference; name = "OpenSans-SemiBoldItalic.ttf"; path = "../assets/fonts/OpenSans-SemiBoldItalic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -90,6 +110,7 @@
2D16E6871FA4F8E400B85C8A /* Frameworks */,
D65327D7A22EEC0BE12398D9 /* Pods */,
D7E4C46ADA2E9064B798F356 /* ExpoModulesProviders */,
3F8F6230E5AF4FBF854B1EED /* Resources */,
);
indentWidth = 2;
sourceTree = "<group>";
Expand Down Expand Up @@ -138,6 +159,24 @@
name = ExpoModulesProviders;
sourceTree = "<group>";
};
3F8F6230E5AF4FBF854B1EED /* Resources */ = {
isa = "PBXGroup";
children = (
78525818F06C4C279276A6A9 /* OpenSans-Bold.ttf */,
9A9F18BE19334FBA881E10B5 /* OpenSans-BoldItalic.ttf */,
5E026EAEEAB94188A04BF56E /* OpenSans-ExtraBold.ttf */,
B34BFD7986064E7BB3840383 /* OpenSans-ExtraBoldItalic.ttf */,
B04789EF9ABD4A33A957C268 /* OpenSans-Italic.ttf */,
32762DBAA7724007B8F969EB /* OpenSans-Light.ttf */,
C1FAF8E95D3547589841E249 /* OpenSans-LightItalic.ttf */,
18A54E74C261464BA3046E60 /* OpenSans-Regular.ttf */,
7D00C502DE7845BD84E781CC /* OpenSans-SemiBold.ttf */,
E172ECD9A7AF4938B71C70C7 /* OpenSans-SemiBoldItalic.ttf */,
);
name = Resources;
sourceTree = "<group>";
path = "";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -210,6 +249,16 @@
BB2F792D24A3F905000567C9 /* Expo.plist in Resources */,
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
3E461D99554A48A4959DE609 /* SplashScreen.storyboard in Resources */,
26AE68C2AE9648BEA2EABD2B /* OpenSans-Bold.ttf in Resources */,
2DDCFB4F3E2A45E488058139 /* OpenSans-BoldItalic.ttf in Resources */,
AE3FACB1D2A14ADA87ADE2A3 /* OpenSans-ExtraBold.ttf in Resources */,
3CA829B9B6A24454A7FFF229 /* OpenSans-ExtraBoldItalic.ttf in Resources */,
3F347EC1CEB0408D904CB1E2 /* OpenSans-Italic.ttf in Resources */,
D961E7D61F824BCAA8F24D22 /* OpenSans-Light.ttf in Resources */,
E82D958B8FFC43828DECD74B /* OpenSans-LightItalic.ttf in Resources */,
8188029650F747EF828741F8 /* OpenSans-Regular.ttf in Resources */,
A9D859281C764225A1E09A23 /* OpenSans-SemiBold.ttf in Resources */,
8DCA19BAE7804C369F7735B3 /* OpenSans-SemiBoldItalic.ttf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
163 changes: 88 additions & 75 deletions ios/treemapper/Info.plist
Original file line number Diff line number Diff line change
@@ -1,78 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>treemapper</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>org.pftp.treemapper</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
<key>UILaunchStoryboardName</key>
<string>SplashScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UIRequiresFullScreen</key>
<false/>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleDefault</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>treemapper</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>org.pftp.treemapper</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
<key>UILaunchStoryboardName</key>
<string>SplashScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UIRequiresFullScreen</key>
<false/>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleDefault</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UIAppFonts</key>
<array>
<string>OpenSans-Bold.ttf</string>
<string>OpenSans-BoldItalic.ttf</string>
<string>OpenSans-ExtraBold.ttf</string>
<string>OpenSans-ExtraBoldItalic.ttf</string>
<string>OpenSans-Italic.ttf</string>
<string>OpenSans-Light.ttf</string>
<string>OpenSans-LightItalic.ttf</string>
<string>OpenSans-Regular.ttf</string>
<string>OpenSans-SemiBold.ttf</string>
<string>OpenSans-SemiBoldItalic.ttf</string>
</array>
</dict>
</plist>
8 changes: 8 additions & 0 deletions react-native.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
project: {
ios: {},
android: {},
},
assets: ['./assets/fonts'],
};

0 comments on commit 3e01719

Please sign in to comment.