Page 1 of 2

Undefined Error Message

Posted: Sat Jul 05, 2014 1:34 pm
by Marco Spera

Hi,

Upon exporting my app via source code to xCode, Upon starting up the app I get an error message in xCode as follows:

2014-07-04 17:32:08.857 17Weeks[1359:60b] TypeError 'undefined' is not an object (evaluating 'this.prop(attrName).trim')

Do you know how I can fix this, or what exactly is the problem?

Thanks


Undefined Error Message

Posted: Sat Jul 05, 2014 9:11 pm
by Illya Stepanov

Hi Marco,

When you test your app in Appery.io - are there any errors messages in the browser console?


Undefined Error Message

Posted: Sat Jul 05, 2014 9:35 pm
by Marco Spera

I am not receiving any error messages in the browser console


Undefined Error Message

Posted: Sat Jul 05, 2014 9:40 pm
by Illya Stepanov

Could you please share your project with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a?


Undefined Error Message

Posted: Sat Jul 05, 2014 9:57 pm
by Marco Spera

I find that it is happening every time I run my app, and do something that causes an alert to show up.

I used this code for my alerts:

function alertDismissed() {
// do something
}

navigator.notification.alert(
'It Is Passed The Deadline',
alertDismissed,
'Error',
'OK'
);

This causes the error message to come up every time. Any idea why?

I will send the zip file to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a


Undefined Error Message

Posted: Sat Jul 05, 2014 11:06 pm
by Marco Spera

Sorry, I forgot about that.

Here is the link:

https://www.dropbox.com/s/gfsfy8kti8q...

Thanks again!


Undefined Error Message

Posted: Sat Jul 05, 2014 11:19 pm
by Illya Stepanov

Thanks Marco, we will test it.


Undefined Error Message

Posted: Sun Jul 06, 2014 3:15 pm
by Marco Spera

Hi Illya,

I am sorry, it is a different error that keeps coming up when I use the navigator notification.

It is this one:

THREAD WARNING: ['Notification'] took '92.943848' ms. Plugin should use a background thread.

It seems to only happen in iOS 7.1 and not 6.1


Undefined Error Message

Posted: Sun Jul 06, 2014 3:59 pm
by Illya Stepanov

Hi Marco,

Thanks for the update, it seems that we were looking in another direction :)
Hope we will help you soon.


Undefined Error Message

Posted: Sun Jul 06, 2014 4:07 pm
by Marco Spera

Sorry for the confusion, but thanks again!