andrea

Administrator

Last active 4 years ago

  1. 4 years ago
    Mon Feb 17 22:41:14 2020
    andrea posted in HTTPServer.

    The body parameter of that event contains a Data object containing the UTF8 representation of the JSON string. You can't decode it to the String or Map representation of the JSON value because of a bug, we will fix it in the next release and we will improve the documentation.

  2. Wed Dec 11 22:02:05 2019
    andrea posted in Gradient Inverted.

    Thank you for reporting the issue, it will be fixed in the next version.

  3. Fri Dec 6 14:32:08 2019

    @taiheta
    the border property of each view defines the size of the border in each side of the view, but you could achieve your desired appearance by adding a RectShape with appropriate border mask or a LineShape inside your custom view

  4. Fri Dec 6 14:16:00 2019
    andrea posted in HTTP Client redirect URI.

    @taiheta,
    com.creolabs.creo://oauth2Callback is correct but in your screenshot there is an invalid URL with the https:// schema: https://com.creolabs.creo://oauth2Callback.
    URLs with the https schema work with web apps, for iOS apps you need to use callback URLs with a custom schema that open your app.

  5. Tue Nov 19 22:15:31 2019
    andrea posted in TextView text.color.

    Hi @Joel_Eisenstat , this is a bug, it will be fixed in the next release of Creo.
    Thank you for reporting.

  6. Mon Nov 18 21:29:12 2019
    andrea posted in HTTPRequest.

    Or you can programmatically re-build your path from the queryParameters Map, for example, with the following code:

    request.queryParameters = ["page": 1]
    
    // create the new path string from queryParameters
    var path : String = "?"
    for (var key in request.queryParameters.keys()) {
    	var value = request.queryParameters[key]
    	// add "key=value&" to the path string for each query parameter
    	path += key + "=" + value + "&"
    }
    
    // remove the last "&"
    path = path[0...-2]
    
    // update the request path
    request.path = path
  7. Tue Nov 12 21:27:55 2019
    andrea posted in HTTPRequest.

    Hi @ingurgite,
    if you programmatically create an HTTPRequest (or if you programmatically set a custom value for the path property) the queryParameters property is ignored. You should instead set the complete path in the initializer method or in the path property, for example:

    var url : String = "https://yourdomain.com/basepath?page=0"
    var request = HTTPRequest(url)
    request.responseSerializerType = HTTPResponseSerializer.JSON
    request.send()
  8. Wed Nov 6 20:34:04 2019

    Hi @ingurgite,
    the `Journal.open()` invocation tries to open the Journal in the active container, the default window in this case. The default window should open the Journal window as a modal window but it fails if executed in the WillShow event because a window that is not already added to the window's hierarchy cannot open a modal window.

    A safer way to change the default window could be to use the loadContainer() method of the Application object, for example with the following code:

    var screen = "journal"
    
    if (screen == "journal")
    {
    	console.log("HERE: opening journal")
    	App.loadContainer(Journal)
    }

    This command replaces the root window (default window) with the Journal window.

  9. Wed Oct 30 19:44:17 2019
    andrea posted in Tap on Scrollable Text.

    @ingurgite,
    the Tap gesture can not be recognized if an internal gesture recognizer of the native TextView control is recognized before (for example, the tap gesture that put the TextView in the editing state).
    To change this behavior, you can add the code `return true;` in the `ShouldRecognizeSimultaneously(otherGesture: UIGestureRecognizer)` event of your TapGesture; in this way, your gesture can be recognized simultaneously with other gesture recognizers.

  10. Thu Oct 24 14:48:45 2019
    andrea posted in Single vs Double Tap.

    Hi @ingurgite,
    the `requireToFail` is not working correctly in our simulator if used for more than one gesture recognized, this bug will be fixed in the next release. It should work fine on a real iOS device.
    There could be a delay for the action to be invoked depending on the gesture recognizer added as `requireToFail` because the first gesture recognizer must wait for the other gesture to fail before changing to the recognized state.

View more