NetTalk Central

Author Topic: mbuild, <!-- Core plugins --> <gap:plugin name>  (Read 4551 times)

skyong38

  • Newbie
  • *
  • Posts: 34
    • View Profile
    • Email
mbuild, <!-- Core plugins --> <gap:plugin name>
« on: August 04, 2017, 01:30:12 AM »
Dear All,

I unchecked "Generate for Disconnected App".  Mobile Web browser can see the record, but mobile app cant.
Will  <!-- Core plugins --> be issue?

For mbuild, the default
"<!-- Core plugins -->
  <gap:plugin name="org.apache.cordova.battery-status" />"

is not acceptable by adobe phone gap, so that I change "gap:plugin" to
"plugin"
"<!-- Core plugins -->
  <plugin name="cordova-plugin-battery-status" spec="~1.2.4" />"
it can be successfully compiled. Does this affect?

Thank you.


Best Regards,
Nelson

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11245
    • View Profile
Re: mbuild, <!-- Core plugins --> <gap:plugin name>
« Reply #1 on: August 04, 2017, 09:32:53 PM »
Hi Nelson,

>> I unchecked "Generate for Disconnected App".
>> Mobile Web browser can see the record, but mobile app cant.

If you are making a disconnected app to run on the phone then this switch must be on.

Cheers
Bruce

skyong38

  • Newbie
  • *
  • Posts: 34
    • View Profile
    • Email
Re: mbuild, <!-- Core plugins --> <gap:plugin name>
« Reply #2 on: August 07, 2017, 04:22:24 AM »
Hi Bruce,

I don't want disconnected app, I want online app.
When I use chrome browser to open, I can see the records listed.
When I use mbuild to get apk and install on mobile, the browse always empty.

Anywhere I done wrong?

Thank you.

Regards,
Nelson

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11245
    • View Profile
Re: mbuild, <!-- Core plugins --> <gap:plugin name>
« Reply #3 on: August 07, 2017, 09:48:37 PM »
Hi Nelson,

mBuild is for creating Disconnected apps.
Using mBuild for a web app makes no sense.

I'm not understanding something here...

cheers
Bruce

skyong38

  • Newbie
  • *
  • Posts: 34
    • View Profile
    • Email
Re: mbuild, <!-- Core plugins --> <gap:plugin name>
« Reply #4 on: August 09, 2017, 05:09:21 AM »
Dear Bruce,

Thanks for advice. Now I only understand that Mobile App must be disconnected.

If I want it to be connected, it can only run on Web browser. Am I right?

Thank you.

Regards,
Nelson




Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11245
    • View Profile
Re: mbuild, <!-- Core plugins --> <gap:plugin name>
« Reply #5 on: August 11, 2017, 07:10:35 AM »
right