Send Objectiv-C data to javascript var

  • Status: Pending
  • Pris: $30
  • Bidrag mottagna: 3

Tävlingssammandrag

Hi, I have an Phonegap app with login section in my index.html. For push notification I have implement separately from this tutorial http://www.easyapns.com. Token generated from that tutorial is send directly from AppDelegate.m to my server and my server send notification to mobile device back.

So, my problem is that I need that TOKEN in my login section of the app in index.html so that I can post it in my database with my username and password.

So if someone know how to send variable from IOS Objective C to javascript web view?

the AppDelegate.m is attached, the generated TOKEN is on line 205

Rekommenderade kompetenser

Klargörandetavla

Finns inga meddelanden än.

Hur du kommer igång med tävlingar

  • Lägg upp din tävling

    Lägg upp din tävling Snabbt och enkelt

  • Få massvis med bidrag

    Få massvis med bidrag Från världens alla hörn

  • Utse det bästa bidraget

    Utse det bästa bidraget Ladda ner filerna - enkelt!

Lägg upp en tävling nu eller gå med idag!