Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-2398

Cordova can not open page with parameters in url

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.3.0
    • None
    • cordova-ios
    • iOS 6.1 simulator

    Description

      I try to open a page using uri with parameters in it, but cordova can not find the file in the file system

      here is my code:

      ....
      AppDelegate* appDelegate = [UIApplication sharedApplication] delegate]
      MainViewController* appViewController = [[MainViewController alloc] init] autorelease];
      appViewController.startPage = @"index.html?id=10";
      [appDelegate.viewController presentModalViewController:appViewController animated:YES];
      ....

      I want to send some intial parameters to my javascript but it doesn't seem to work

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            peacemoon Binh An Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: