Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Undefined Error Message

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Undefined Error Message

Hi Marco,

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

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Undefined Error Message

I am not receiving any error messages in the browser console

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Undefined Error Message

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

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Undefined Error Message

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

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Undefined Error Message

Sorry, I forgot about that.

Here is the link:

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

Thanks again!

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Undefined Error Message

Thanks Marco, we will test it.

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Undefined Error Message

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Undefined Error Message

Hi Marco,

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

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Undefined Error Message

Sorry for the confusion, but thanks again!

Return to “Issues”