Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[Open Source] Native Toolkit - iOS & Android Functionality (Save to Gallery, Use Camera. etc)

Discussion in 'Assets and Asset Store' started by zoooom, Aug 6, 2018.

  1. zoooom

    zoooom

    Joined:
    Feb 8, 2012
    Posts:
    50
    GitHub repository here: https://github.com/ryanw3bb/native-toolkit

    If you're developing in Unity for mobile this asset could make your life easier, it allows you to call many functions natively available in iOS and Android, but not exposed within Unity. Most functionality requires just one line of code after you've imported the plugin.
    • Pick images from camera roll
    • Use device camera to take an image
    • Save image to gallery
    • Save screenshot to gallery
    • Send email with attachments
    • Retrieve a contact from contacts list
    • Alert dialogs
    • App rating
    • Local notifications
    • GPS data
    Any other useful functionality you can think of, please feel free to make a suggestion or fork the repo! :)
     
    Last edited: Aug 6, 2018
    ROBYER1, unnanego, yezzer and 2 others like this.
  2. zoooom

    zoooom

    Joined:
    Feb 8, 2012
    Posts:
    50
    Current roadmap for new features:
    • NFC reading
    • Bluetooth support
     
    unnanego and stevenatunity like this.
  3. zoooom

    zoooom

    Joined:
    Feb 8, 2012
    Posts:
    50
    Latest update: GPS longitude and latitude now return values as double (instead of float) to give better precision.
     
    unnanego likes this.
  4. hwjwill

    hwjwill

    Joined:
    Jun 19, 2015
    Posts:
    16
    Wow this is so useful thank you so much!!!
     
    zoooom likes this.
  5. AppMagician

    AppMagician

    Joined:
    Aug 30, 2017
    Posts:
    2
    Hey zoooom,

    Haven't tested your plugin yet, just wanna know, is the NFC reading already implemented?
    That's the thing I am looking for atm.
     
  6. prawn-star

    prawn-star

    Joined:
    Nov 21, 2012
    Posts:
    64
    Hi. I'm getting the app crashing on Android when I press the Camera Shot button.
    I am just using the example scene
    If I go into Settings/Apps/App Permissions I can see that the app has camera permissions but they are turned off?
    How do I get the app to ask the user to have access to the camera?
     
  7. AverageBrownGuy

    AverageBrownGuy

    Joined:
    Apr 3, 2014
    Posts:
    1
    Hey dude, I was looking at using just the contact portion of your toolkit (Which btw, looks amazing)

    Could you help me with understanding how I can get ALL contacts rather than picking just one contact?