× Requests and support related to jBackend.

Jbackend and Template Ionic Material

  • alphaa
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 9 months ago #5046 by alphaa
Replied by alphaa on topic Jbackend and Template Ionic Material
Thanks admin!
No i want to block a script in my content from json like :

"content": "\r\n<script async=\"async\" src=\"//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>\r\n<p>

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #5057 by admin
Replied by admin on topic Jbackend and Template Ionic Material
You can strip html tags in many different way (e.g. using regexp on strings, using DOM parsing, using $sce, and so on). Decision is up to you.

Please Log in or Create an account to join the conversation.

  • alphaa
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 9 months ago #5073 by alphaa
Replied by alphaa on topic Jbackend and Template Ionic Material
Here the error of my app in device :
Attachments:

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #5074 by admin
Replied by admin on topic Jbackend and Template Ionic Material
I am not sure but it seems there's a problem with the protocol (file://) which leads to local files.

Please Log in or Create an account to join the conversation.

  • alphaa
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 9 months ago #5075 by alphaa
Replied by alphaa on topic Jbackend and Template Ionic Material
Yes.Its work fine in browser but when i have export the project ionic (www only) in android studio for building app, the content do this error .

I don't know if i must import plugin and config.xml from ionic project to android studio or not, if yes how can i do it plz?

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #5084 by admin
Replied by admin on topic Jbackend and Template Ionic Material
Hi,
unfortunately this is a general question, so I can only provide you a general answer:

ionicframework.com/docs/guide/publishing.html

Kind regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.165 seconds