What material, ABS or fiberglass (I'm guessing ABS)? Can you reach under the shower (some have an access panel/cover)? How big is the crack? You should repair a crack in a floor properly not only so it won't leak, but to prevent it from cracking and opening up in the future.
Sometimes you need to drill a small hole at each end of a crack to stop it from growing. I'd suggest supporting the shower floor if you can reach under it so the floor won't flex by using a little expanding foam. Be very careful with foam that you don't use too much (use low expansion type). You might be able to inject some foam through the floor if you drill a hole at the ends of the crack. Shower pans & tubs in houses are often installed with mortar or expanding foam under them to prevent the bottoms from flexing and cracking but RVs lack this to start with.
If you can reach under, I'd suggest using a small thin patch of ABS or fiberglass and then a filler on top. A plastics shop should have sheet ABS material. Epoxy alone may work okay if you support the floor. There are pigments that can be added to epoxy if you want to try and conceal the crack, as well as for fiberglass. There are repair kits available at various places.