It appears that the files are not getting indexed in appDataFolder.
final queryStr =
"name='text.txt' and fullText contains '$searchStr' and trashed = false";
final fileList = await api.files.list(
q: queryStr,
$fields: 'files(id, name, parents)',
spaces: 'appDataFolder',
If I keep the files in shared directory and use the spaces: 'drive' the search works.
If I use a 'not fullText' instead I get back the file along with other files.
"name='text.txt' and not fullText contains '$searchStr' and trashed = false";
It appears that the files are not getting indexed in appDataFolder.
final queryStr = "name='text.txt' and fullText contains '$searchStr' and trashed = false"; final fileList = await api.files.list( q: queryStr, $fields: 'files(id, name, parents)', spaces: 'appDataFolder',
If I keep the files in shared directory and use the spaces: 'drive' the search works. If I use a 'not fullText' instead I get back the file along with other files. "name='text.txt' and not fullText contains '$searchStr' and trashed = false";