flore2003 / nativescript-markdown-view

A NativeScript plugin that provides a natively rendered markdown view
MIT License
18 stars 7 forks source link

Not working on iOS #12

Closed tonyhogben closed 4 years ago

tonyhogben commented 4 years ago

I have implemented as per the demo and all is working fine on Android but there is no formatting applied in iOS.

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

Just follow the demo instructions

flore2003 commented 4 years ago

Can you let me know which version of iOS you have tested this on?

tonyhogben commented 4 years ago

13.3.1

flore2003 commented 4 years ago

Version 2.0.0 was just released, can you check if this solves your issue? I can't reproduce the formatting not being shown.

shiv19 commented 4 years ago

I got this error log on iOS @flore2003

CONSOLE ERROR file:///app/bundle.js:1407:20: Error Domain=file:///app/vendor.js@114391:74 Code=-6661 "(null)" UserInfo={sourceURL=file:///app/vendor.js, line=114391, msg=Error: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1], nativeException=*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1], stackTrace=JS:
dictionaryWithObjectsForKeys(file: node_modules/nativescript-markdown-view/markdown-view.ios.js:41:0)
at file: node_modules/nativescript-markdown-view/markdown-view.ios.js:41:0
at file: node_modules/nativescript-markdown-view/markdown-view.ios.js:22:0
at applyAllNativeSetters(file: node_modules/@nativescript/core/ui/core/properties/properties.js:1065:0)
at initNativeView(file: node_modules/@nativescript/core/ui/core/properties/properties.js:992:0)
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:647:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:278:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:232:0
at file: node_modules/@nativescript/core/ui/text-view/text-view.ios.js:119:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:317:75
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:310:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:317:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:456:0
at file: node_modules/@nativescript/core/ui/core/view-base/view-base.js:234:0
at file: node_modules/@nativescript/core/ui/layouts/layout-base-common.js:125:0
at fil<\M-b\M^@\M-&>

"nativescript-markdown-view": "2.0.0",

tonyhogben commented 4 years ago

Sorry for the delay @flore2003, all working!