Skip to content

Commit

Permalink
Merge pull request #177 from kevinaboos/location_messages
Browse files Browse the repository at this point in the history
Support sending location messages to a room
  • Loading branch information
kevinaboos authored Oct 10, 2024
2 parents 65632f2 + 3f01d11 commit bf752c4
Show file tree
Hide file tree
Showing 8 changed files with 620 additions and 33 deletions.
148 changes: 135 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ robius-use-makepad = "0.1.0"
robius-open = "0.1.0"
## A fork of the `directories` crate that adds support for Android by using our `robius-android-env` crate.
robius-directories = { git = "https://github.com/project-robius/robius-directories", branch = "robius"}
robius-location = { git = "https://github.com/project-robius/robius-location" }

anyhow = "1.0"
chrono = "0.4"
Expand Down Expand Up @@ -175,6 +176,8 @@ section = "utils"
[package.metadata.packager.macos]
minimum_system_version = "11.0"
frameworks = [ ]
info_plist_path = "./packaging/Info.plist"
entitlements = "./packaging/Entitlements.plist"
signing_identity = "Developer ID Application: AppChef Inc. (SFVQ5V48GD)"


Expand Down
8 changes: 8 additions & 0 deletions packaging/Entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.personal-information.location</key>
<true/>
</dict>
</plist>
61 changes: 61 additions & 0 deletions packaging/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>Robrix</string>
<key>CFBundleExecutable</key>
<string>robrix</string>
<key>CFBundleIconFile</key>
<string>Robrix.icns</string>
<key>CFBundleIdentifier</key>
<string>org.robius.robrix</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Robrix</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.0.1-pre-alpha</string>
<key>CFBundleVersion</key>
<string>20241009.225157</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSApplicationCategoryType</key>
<string>public.app-category.social-networking</string>
<key>LSMinimumSystemVersion</key>
<string>11.0</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>robrix</string>
<string>matrix</string>
</array>
<key>CFBundleURLName</key>
<string>org.robius.robrix robrix</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
</array>
<key>LSRequiresCarbon</key>
<true/>
<key>NSHighResolutionCapable</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2023-2024, Project Robius</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Robrix needs permission to share your current location to a Matrix room.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Robrix needs permission to share your current location to a Matrix room.</string>
<key>NSLocationUsageDescription</key>
<string>Robrix needs permission to share your current location to a Matrix room.</string>
<key>NSLocationDefaultAccuracyReduced</key>
<false/>

</dict>
</plist>
Loading

0 comments on commit bf752c4

Please sign in to comment.