JSON for each issue

Hi,

I’m willing to pay for help, I make a request to twilio and loop through the results and create a table view. Everything works fine in the simulator but when I test my app on a real device it doesn’t work, please help me, my code is below and I also attached a file

local data = loadsave.loadTable("numbers.json").available\_phone\_numbers local function onRowRender( event ) local row = event.row local params = event.row.params local rowHeight = row.contentHeight local rowWidth = row.contentWidth local rowTitle = display.newText( row, params.friendly\_name, 0, 0, nil, 14 ) rowTitle:setFillColor( 0 ) rowTitle.anchorX = 0 rowTitle.x = 10 rowTitle.y = rowHeight \* 0.5 end local myList = widget.newTableView { top = 50, width = display.contentWidth, height = display.contentHeight, onRowRender = onRowRender } for i = 1, #data do myList:insertRow{ isCategory = false, params = { friendly\_name = data[i].friendly\_name } } end

FIXED IT!

FIXED IT!

How did you fix it?

How did you fix it?