question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom mapping not working

See original GitHub issue

🐛 Bug Report

Passing a custom mapping like this doesn’t work for some reason image image

But passing it like this works image image

Custom mapping is the same for both scenarios image

UI Kitten and Eva version

Package Version
@eva-design/eva ^2.0.0-alpha.1
@ui-kitten/components ^5.0.0-alpha.1

Environment information


  System:
    OS: macOS 10.15.3
    CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
  Binaries:
    Node: 13.9.0 - ~/.nvm/versions/node/v13.9.0/bin/node
    Yarn: 1.22.4 - ~/.yvm/shim/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v13.9.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 27, 28
      Build Tools: 27.0.3, 28.0.3, 29.0.3
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.6010548
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  npmPackages:
    react: ~16.13.1 => 16.13.1 
    react-native: https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz => 0.61.4 

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
artyorshcommented, Apr 28, 2020

it should pointed out in the docs as a side note that the custom mapping must not to be used

That is what I did 🙌

1reaction
artyorshcommented, Apr 28, 2020

@KaKaVip yep, thanks for the details. I fixed that in d120d5d. This is an upcoming change anyway, but if you need to use it currently, this may achieved by modifying props like the migration guide says. Sorry for such type of issue.

@gabrielepmattia thanks for the details 👍The commit above also gives some notes on this. The problem is you use metro configuration which creates a styles during the build time. customMapping property is not required in this case as it is completely ignored. What you can do is modifying your metro.config.js with.

const evaConfig = {
  evaPackage: '@eva-design/eva',
  customMappingPath: './path-to/custom-mapping.json', 
};

Maake sure to restart the bundler afterwards.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom maps not working : r/boneworks - Reddit
For some reason, when I add a custom map into the custom maps folder, the game doesn't load, the loading screen shows up...
Read more >
S1 Custom Mapping not working - Avid Pro Audio Community
I can map the Compressor knobs, but when pressing DYN again to use my Expander all the knobs say "na". I suppose I...
Read more >
Custom Map not working - Get Help - Metabase Discussion
Hi I am trying to import a custom map for Brazil by using this geoJson ... Problem is when i try to load...
Read more >
Custom map not loading - Knowledgebase - Host Havoc
Custom map not loading · 1) In your game panel, click on "File Manager". · 2) Right-click and delete the "steamapps" folder ·...
Read more >
UI kitten Button custom mapping not working - Stack Overflow
Did you mean this? <Button status="primary" size="tiny" appearance='ghost' style={{width: 0}} > {(props) => ( <Text {...props} ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found