fragment_downloaded_cb({"url":"overview.html#connecting-from-flatpak","fragment":"Connecting from Flatpak\nTracker SPARQL provides a portal for the Flatpak\napplication sandboxing system. This lets you control which parts of a\ndatabase each app can query.\nThe app's Flatpak manifest needs to specify which graph(s) the app will\naccess. See the example app\nand the portal documentation to see how.\nNo code changes are needed in the app, as tracker_sparql_connection_bus_new\nwill automatically try connect via the portal if it can't talk to the\ngiven D-Bus name directly.\nTracker SPARQL is included in the\nGNOME Flatpak SDK and runtime.\nIf the app uses a different runtime, you may need to build Tracker\nSPARQL in the app manifest.\nThe app might use the Tracker Miner FS search index. Ideally this is done via the portal,\nusing the search index maintained on the host. Since not all OSes ship tracker-miner-fs-3,\nwe recommend that apps bundle it inside the Flatpak and connect to the bundled version as\na fallback. See GNOME Music\nfor an example of how to do this.\n"});